codetether_agent/provider/retry/mod.rs
1//! Provider HTTP retry logic.
2//!
3//! Wraps outbound API calls (Z.AI, OpenAI, etc.) with infinite-retry
4//! exponential backoff so transient overload / rate-limit / 5xx errors
5//! never terminate an agentic session. Used by provider `complete` and
6//! `complete_stream` implementations in [`super::zai`].
7mod classify;
8mod send;
9mod stream;
10
11pub use send::send_with_retry;
12pub use stream::send_response_with_retry;