org.llm4s.toolapi.ToolRetryPolicy
See theToolRetryPolicy companion class
Members list
The names of the product elements
Creates a ToolRetryPolicy, or a ValidationError naming the first value that is out of range. Named arguments are the supported way to construct one.
Creates a ToolRetryPolicy, or a ValidationError naming the first value that is out of range. Named arguments are the supported way to construct one.
Value parameters
-
backoffFactor
-
Multiplier for each subsequent delay; at least 1.0.
-
baseDelay
-
Delay after first failure before first retry; not negative.
-
jitter
-
Fraction of each delay that is randomised, from 0.0 (the default: exact delays) to 1.0.
-
maxAttempts
-
Total attempts (first try + retries); at least 1.
-
maxDelay
-
The longest wait before any retry (the default: 30 seconds); not negative.
Attributes
-
Source
-
ToolExecutionConfig.scala