ToolExecutionConfig

org.llm4s.toolapi.ToolExecutionConfig
See theToolExecutionConfig companion class

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(timeout: Option[FiniteDuration], retryPolicy: Option[ToolRetryPolicy]): ToolExecutionConfig

Creates a ToolExecutionConfig; with no arguments, no timeout and no retry.

Creates a ToolExecutionConfig; with no arguments, no timeout and no retry.

Value parameters

retryPolicy

optional retry policy for retryable tool errors

timeout

optional maximum duration to wait for each individual tool call

Attributes

Concrete fields

No timeout and no retry: a single attempt, as ToolRegistry behaves without a configuration.

No timeout and no retry: a single attempt, as ToolRegistry behaves without a configuration.

Attributes