mirror of
https://github.com/openai/codex.git
synced 2026-11-24 23:20:47 +00:00
## Why Administrators who use one gateway for managed configuration and model requests need to configure the gateway URL and OAuth settings in two places. A single enrollment keeps those settings together. ## What changed Accept `[gateway]` with a base URL and `[gateway.auth]` in system `requirements.toml` or MDM. Use the same OAuth settings for the config server at the gateway root and the required Responses API provider at `/v1`, with model discovery at `/v1/models`. MDM enrollment replaces system enrollment as a unit. Requirements composition rejects remote enrollment, conflicting config server or provider settings, and empty or reserved provider names. ## Testing Add composition tests for MDM precedence, remote enrollment and rerouting attempts, and invalid or conflicting enrollment settings. GitOrigin-RevId: 35f04481dc2b592e25afa4ac9235481cd90cf915
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_streamhelper to turn byte streams into raw SSEdata: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-clientincrementally.