Refused

org.llm4s.agent.AdmittedQuery.Refused
final case class Refused(input: AgentInput, guardrail: String, reason: String)

A stage refused the query: guardrail is its name - a blocking middleware's id - and reason what it gave, which is nowhere else. input holds no query: a turn started with it ends AgentStatus.Blocked(guardrail, None).

Attributes

Source
Agent.scala

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product