RunStatus
org.llm4s.trace.TraceEvent.RunStatus
How an agent run ended: the one vocabulary of a run's end, which the run's trace (AgentRunEnded.status) and the agent runtime's run metrics (llm4s.agent.runs.ended's status label) both report by name.
Attributes
- Source
- TraceEvent.scala
- Graph
-
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Enum entries
A guardrail blocked the turn; AgentRunEnded.blockedBy names it.
The run was cancelled.
The turn ended with an answer.
The run failed.
case StepLimitReached extends RunStatus
The turn reached its step limit.
The run suspended, waiting for an approval or an answer.
The run exceeded its deadline.
case TokenLimitReached extends RunStatus
The turn reached its run's token budget.
The turn's answer was cut off at the model's output limit.
In this article
