org.llm4s.agent.graph.RetryPolicy
See theRetryPolicy companion class
object RetryPolicy
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
RetryPolicy.type
Members list
Type members
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
def apply(maxAttempts: Int, initialBackoff: FiniteDuration, backoffFactor: Double, maxBackoff: FiniteDuration, retryOn: LLMError => Boolean): RetryPolicy
def of(maxAttempts: Int, initialBackoff: FiniteDuration, backoffFactor: Double, maxBackoff: FiniteDuration, retryOn: LLMError => Boolean): Result[RetryPolicy]
Concrete fields
One attempt: a failed node fails the run. The default for every node.
One attempt: a failed node fails the run. The default for every node.
Attributes
Retry only what the error says can be retried: LLMError.isRecoverable.
Retry only what the error says can be retried: LLMError.isRecoverable.
Attributes
In this article