Questa pagina non è ancora tradotta in italiano: qui la trovi in inglese.
MentorSafetyCheckFailure enum
The MentorSafetyCheckFailure enum of Novior.MentorAgent.Options: What a safety check does when it cannot reach a verdict — the classifier timed out…
On this page
What a safety check does when it cannot reach a verdict — the classifier timed out (MentorOptions.SafetyCheckTimeout), the provider returned an error, or a custom guardrail threw. Applies to the input check (MentorOptions.EnableSafetyCheck, MentorOptions.InputGuardrail) and to the output check (MentorOptions.EnableOutputSafetyCheck, MentorOptions.OutputGuardrail).
A verdict of UNSAFE is not a failure: it blocks under both settings. Neither is a check the user cancelled with Stop — the turn simply ends.
Definition
Section titled “Definition”Namespace: Novior.MentorAgent.Options. Package: Novior.MentorAgent.
public enum MentorSafetyCheckFailure
dotnet add package Novior.MentorAgentValues
Section titled “Values”| Value | Number | Description |
|---|---|---|
Allow | 0 | Fail open (default): the message is processed, the reply is shown, and a warning is logged. A classifier outage does not turn into an assistant that refuses everything. |
Block | 1 | Fail closed: the message is refused ("the check is unavailable, try again"), or the reply is withheld, and a warning is logged. For deployments where an unchecked message is worse than no answer. Counted as a guardrail block on the dashboard. |
