AttemptStart

org.llm4s.agent.service.AttemptStart
@Experimental

What RunQueue.recordAttempt did (Stage 5 rule 4).

  • Recorded: the attempt's RunId is recorded, the last of entry.attempts; the attempt may now touch the thread, classifying it first (AttemptPlan).
  • Exhausted: the entry has made maxAttempts attempts, so none is recorded. The worker settles the thread if the entry's input was admitted, then closes the entry Failed(AttemptsExhausted) - a dead letter.
  • ThreadDeleted: the thread was deleted since the entry was submitted; the store closed the entry Cancelled(ThreadDeleted) and recorded nothing, so nothing runs.

Attributes

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 Exhausted(entry: QueueEntry)
final case class Recorded(entry: QueueEntry)
final case class ThreadDeleted(entry: QueueEntry)