org.llm4s.agent.graph.RunBudgets
See theRunBudgets companion class
object RunBudgets
Attributes
- Companion
- class
- Source
- RunConfig.scala
- Graph
-
- Supertypes
- Self type
-
RunBudgets.type
Members list
Type members
Inherited and Abstract types
The names of the product elements
The name of the type
Value members
Concrete methods
def apply(maxSupersteps: Int, timeout: Option[FiniteDuration], maxConcurrency: Int, maxTokens: Option[Long]): RunBudgets
Throws IllegalArgumentException for a non-positive value; use of for untrusted input.
Throws IllegalArgumentException for a non-positive value; use of for untrusted input.
Attributes
- Source
- RunConfig.scala
Budgets without a token budget, as before maxTokens existed.
def of(maxSupersteps: Int, timeout: Option[FiniteDuration], maxConcurrency: Int, maxTokens: Option[Long]): Result[RunBudgets]
Attributes
- Source
- RunConfig.scala
Concrete fields
Attributes
- Source
- RunConfig.scala
In this article
