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.