Skip to main content

Module retry

Module retry 

Source
Expand description

Retry logic for the agent loop.

Re-exports§

pub use crate::stream_retry::BACKOFF_BASE_SECS;
pub use crate::stream_retry::MAX_RETRIES;

Functions§

auto_retry_attempt_method
Returns the current auto-retry attempt number (0 = no retry in progress).
cancel_auto_retry
Cancel any in-progress auto-retry wait.
is_retryable_error
Detect whether an assistant message contains a retryable error.