🐛 Patch Changes
- cf98f70: Fix OpenAI subscription model discovery so newer Codex CLI models (e.g.
gpt-5.5) appear. The hardcodedclient_version=0.99.0query param madehttps://chatgpt.com/backend-api/codex/modelssilently return only the older subset; bump it to0.128.0and lift Codex/Copilot client identifiers into a shared constants file so future bumps are a one-line change. - a7a9c3b: Fix fallback success rows recording the primary route's
auth_typeinstead of the fallback's, which causedcost_usdto be miscomputed on mixed-auth chains (subscription fallbacks were charged, api_key fallbacks were stored as $0). - be679c4: Strip Codex-unsupported parameters on the OpenAI subscription proxy path. Requests forwarded to
chatgpt.com/backend-api/codex/responsesnow droptemperature,top_p,max_output_tokens,metadata,safety_identifier,prompt_cache_retention, andtruncationbefore the upstream call, and forcestore: false. Previously these fields propagated through and Codex returned400 unsupported_parameter, breaking OpenAI-SDK clients that set sampling defaults. Closes #1791.