GuardrailBlocked
org.llm4s.agent.graph.middleware.GuardrailBlocked
final case class GuardrailBlocked(guardrail: String, reason: String) extends LLMError, NonRecoverableError
A guardrail refused the run's input or answer. guardrail is the first failing guardrail's name and reason every failing guardrail's error, joined with "; ". The tool loop blocks the run with it (RunResult.Failed, the thread usable), and Agent reports it as AgentStatus.Blocked.
Attributes
- Graph
-
- Supertypes
-
trait NonRecoverableErrortrait LLMErrortrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article