LeasePolicy

org.llm4s.agent.service.LeasePolicy
See theLeasePolicy companion class
@Experimental
object LeasePolicy

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(ttl: FiniteDuration, renewEvery: FiniteDuration): LeasePolicy

Throws IllegalArgumentException for an invalid policy; use of for untrusted input.

Throws IllegalArgumentException for an invalid policy; use of for untrusted input.

Attributes

def of(ttl: FiniteDuration, renewEvery: FiniteDuration): Result[LeasePolicy]

Concrete fields

A 30 second lease, renewed every 10 seconds: the same as a run's claim (ClaimPolicy.default).

A 30 second lease, renewed every 10 seconds: the same as a run's claim (ClaimPolicy.default).

Attributes