MentorAgent Docs
Menu

Questa pagina non è ancora tradotta in italiano: qui la trovi in inglese.

ReferencePackage: Novior.MentorAgent

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.

Namespace: Novior.MentorAgent.Options. Package: Novior.MentorAgent.

public enum MentorSafetyCheckFailure

Terminal
dotnet add package Novior.MentorAgent
ValueNumberDescription
Allow0Fail 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.
Block1Fail 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.