codex / codex-rs /codex-client /README.md
SaylorTwift's picture
SaylorTwift HF Staff
Add files using upload-large-folder tool
dabfdaa verified
|
Raw History Blame Contribute Delete
568 Bytes
# 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.