RunStatus

org.llm4s.trace.TraceEvent.RunStatus
enum RunStatus(val name: String)

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 Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case Blocked extends RunStatus

A guardrail blocked the turn; AgentRunEnded.blockedBy names it.

A guardrail blocked the turn; AgentRunEnded.blockedBy names it.

Attributes

Source
TraceEvent.scala
case Cancelled extends RunStatus

The run was cancelled.

The run was cancelled.

Attributes

Source
TraceEvent.scala
case Completed extends RunStatus

The turn ended with an answer.

The turn ended with an answer.

Attributes

Source
TraceEvent.scala
case Failed extends RunStatus

The run failed.

The run failed.

Attributes

Source
TraceEvent.scala

The turn reached its step limit.

The turn reached its step limit.

Attributes

Source
TraceEvent.scala
case Suspended extends RunStatus

The run suspended, waiting for an approval or an answer.

The run suspended, waiting for an approval or an answer.

Attributes

Source
TraceEvent.scala
case TimedOut extends RunStatus

The run exceeded its deadline.

The run exceeded its deadline.

Attributes

Source
TraceEvent.scala

The turn reached its run's token budget.

The turn reached its run's token budget.

Attributes

Source
TraceEvent.scala
case Truncated extends RunStatus

The turn's answer was cut off at the model's output limit.

The turn's answer was cut off at the model's output limit.

Attributes

Source
TraceEvent.scala