Expand description
OpenAI Codex (Responses API) provider for skg-turn.
Implements Provider and StreamProvider for the OpenAI Responses API,
supporting both the standard api.openai.com/v1/responses endpoint and the
Codex backend at chatgpt.com/backend-api/codex/responses.
§Authentication
Codex uses OAuth JWT tokens. The provider extracts the chatgpt_account_id
from the JWT payload and sends it as the chatgpt-account-id header.
ⓘ
use skg_provider_codex::CodexProvider;
let provider = CodexProvider::new("eyJ..."); // JWT from OMPStructs§
- Codex
Provider - OpenAI Codex (Responses API) provider.