ScheduleTarget

org.llm4s.agent.service.ScheduleTarget
@Experimental

The thread a schedule's firings run on (decision 4).

  • Thread(threadId): every firing continues the one thread, creating it on the first; the schedule's BusyThreadPolicy decides what a firing does while the thread is busy.
  • FreshThread(keepFor): each firing runs on a new thread, its id chosen when the firing is claimed. keepFor after the claim, once the firing's entry has closed, the thread is deleted; None keeps it.

Attributes

Source
Schedule.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 FreshThread(keepFor: Option[FiniteDuration])

Attributes

Source
Schedule.scala
final case class Thread(threadId: ThreadId)

Attributes

Source
Schedule.scala