TaskRefusal

org.llm4s.agent.delegation.TaskRefusal
See theTaskRefusal companion object
@Experimental

Why a child gave no report (design 4.44). Each case is rebuilt from one RunOutcome on replay.

Attributes

Companion
object
Source
TaskOutcome.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

final case class Blocked(guardrail: String, reason: Option[String])

A guardrail of the child blocked its turn. reason is the guardrail's, on the outcome of the call whose child run was blocked; it is never stored (#2853), so the same refusal read again from the child's thread has None, and the parent model's tool error names the guardrail only.

A guardrail of the child blocked its turn. reason is the guardrail's, on the outcome of the call whose child run was blocked; it is never stored (#2853), so the same refusal read again from the child's thread has None, and the parent model's tool error names the guardrail only.

Attributes

Source
TaskOutcome.scala
final case class Failed(message: String)

The child run failed: its error's message.

The child run failed: its error's message.

Attributes

Source
TaskOutcome.scala
final case class OutputInvalid(errors: Vector[String])

The child's typed answer failed its output schema twice: every problem it was reported with.

The child's typed answer failed its output schema twice: every problem it was reported with.

Attributes

Source
TaskOutcome.scala

The child used its maxSteps model calls without an answer.

The child used its maxSteps model calls without an answer.

Attributes

Source
TaskOutcome.scala

The child used its token budget without an answer.

The child used its token budget without an answer.

Attributes

Source
TaskOutcome.scala
case Truncated extends TaskRefusal

The child's answer was cut off at its model's output limit (AgentStatus.Truncated).

The child's answer was cut off at its model's output limit (AgentStatus.Truncated).

Attributes

Source
TaskOutcome.scala