mirror of
https://github.com/openai/codex.git
synced 2026-09-04 15:08:45 +00:00
## What changed - Emit trace-safe `codex.retry` events immediately before retry delays, including the attempt number, selected delay, retry layer, and operation. - Cover HTTP requests, sampling streams, remote compaction, and sampling connection recovery. Track connection-recovery attempts separately from the stream retry budget. - Add integration coverage for retry timing and terminal behavior across HTTP, SSE, WebSocket, and remote-compaction paths, including rate limits, overloads, connection failures, and `Retry-After` inputs. GitOrigin-RevId: dae38900a0579cf8ba062c3f3d90ee61851c1c99
15 lines
439 B
Rust
15 lines
439 B
Rust
mod retry;
|
|
mod sse;
|
|
mod telemetry;
|
|
|
|
pub use crate::retry::RetryOn;
|
|
pub use crate::retry::RetryOperation;
|
|
pub use crate::retry::RetryPolicy;
|
|
pub use crate::retry::backoff;
|
|
pub use crate::retry::run_with_retry;
|
|
pub use crate::sse::sse_stream;
|
|
pub use crate::telemetry::RequestTelemetry;
|
|
pub use codex_http_client::HttpClient as CodexHttpClient;
|
|
pub use codex_http_client::RequestBuilder as CodexRequestBuilder;
|
|
pub use codex_http_client::*;
|