ClaimRequest

org.llm4s.agent.graph.ClaimRequest
See theClaimRequest companion object
final case class ClaimRequest

What a run asks of Checkpointer.claim: who holds the claim, the tenant it holds it for (the run's RunConfig.tenantId; None and Some differ, as for a thread), and for how long it lasts from the moment the store grants it, by the store's clock. The store records the tenant with the claim, and names the claim's holder to a later request - in a refusal, or as RunClaim.takenOverFrom - only when that request is of the same tenant. apply and the with* setters throw IllegalArgumentException for a non-positive ttl; ClaimRequest.of returns it as a ValidationError.

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 withTtl(t: FiniteDuration): ClaimRequest

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product