RunConfig

org.llm4s.agent.graph.RunConfig
See theRunConfig companion object
final case class RunConfig

The identity and limits of one run. RunConfig() is evaluated per call, so each gets a fresh RunId. The tenant is part of the thread's identity: it is recorded on every checkpoint, and admission refuses a run whose tenantId differs from the latest checkpoint's (GraphError.TenantMismatch; None and Some differ). The principal is recorded on the run's RunStarted, RunRecovered and RunResumed events and is never checked.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def withMetadata(m: Map[String, String]): RunConfig
def withPrincipal(p: Option[Principal]): RunConfig
def withTenantId(t: Option[TenantId]): RunConfig

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product