mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +00:00
9 lines
568 B
Markdown
9 lines
568 B
Markdown
# codex-client
|
|
|
|
Higher-level request policy layered on `codex-http-client` without any Codex/OpenAI API awareness.
|
|
|
|
- Provides retry utilities (`RetryPolicy`, `RetryOn`, `run_with_retry`, `backoff`) that callers plug into for unary and streaming calls.
|
|
- Supplies the `sse_stream` helper to turn byte streams into raw SSE `data:` frames with idle timeouts and surfaced stream errors.
|
|
- Defines the request telemetry callback used by higher-level clients.
|
|
- Re-exports the low-level HTTP types temporarily so consumers can migrate to `codex-http-client` incrementally.
|