EntryOutcome

org.llm4s.agent.service.EntryOutcome
See theEntryOutcome companion object
@Experimental

How an entry closed: its terminal state (design 4.55).

  • Done: the entry's run reached rest - completed or suspended - or the thread had moved on past the entry's admitted input (rule 4), at checkpoint checkpointId with status, if the thread had one.
  • Failed: see FailureReason.
  • Cancelled: see CancelReason.
  • Interrupted: an Interrupt entry by superseded it - before it ran, for a queued Interrupt entry, or at its next safe point (W3). It is not retried.

Attributes

Companion
object
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 Cancelled(reason: CancelReason)
final case class Done(checkpointId: Option[String], status: Option[CheckpointStatus])
final case class Failed(reason: FailureReason)
final case class Interrupted(by: Option[EntryId])