Match privacy-processed SSE requests against the existing WebSocket history prefix. Keep full input on a mismatch and resume trimming after a matching completed turn.
Record body receipt, authentication, decompression, decoding and execution preparation timings to distinguish ingress delays from upstream latency.
Cover metadata, body and header privacy across reuse, mismatch and resumed reuse.
Co-authored-by: Codex <noreply@openai.com>
Treat explicit null text as empty in Chat content blocks and preserve user input, tool results, and cache breakpoints during conversion. Resolve nullable format and reasoning controls consistently with routing, and forward stop sequences to Messages and GenAI.
Co-authored-by: Codex <noreply@openai.com>
Share the four Codex request ID headers across HTTP, WebSocket, diagnostics, and continuation failures. Preserve current-failure IDs and the model execution ID fallback, and remove unsupported aliases.
Update regression coverage and the public API contract.
Co-authored-by: Codex <noreply@openai.com>
Include recent request pressure in Smart load scores before near-best
selection, keeping the concurrency penalty independent. Remove the
separate recent-count filter and share the score with diagnostics and
queue selection.
Co-authored-by: Codex <noreply@openai.com>
Prefer accounts with fewer recent requests among near-best Smart candidates
while preserving affinity and existing eligibility constraints. Save recent
load snapshots asynchronously to Redis and restore live buckets on startup.
Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
Return an unknown version when discovery fails and preserve local update capability during rate limits. Keep release notes tied to the selected channel and require a higher version for installation.
Co-authored-by: Codex <noreply@openai.com>
Hide empty token values while preserving their labels and layout. Align the UI dependency, lockfile, and submodule with the select font-weight fix.
Co-authored-by: Codex <noreply@openai.com>
Keep header and stream quota facts tied to their collection time so delayed responses cannot replace a newer refresh. Filter stale observations again on merge conflicts and retain timestamps through failure and warmup paths.
Co-authored-by: Codex <noreply@openai.com>
* feat(accounts): add xAI and Antigravity API key upstreams
Support native Responses and GenAI API key accounts with custom upstream URLs.
Reuse account management and isolate credentials, catalogs, and runtime connections by revision.
Refs #814
Co-authored-by: Codex <noreply@openai.com>
* refactor(antigravity): simplify API key account names
Use name consistently in API key account documents and verify the exported contract before reimport.
Co-authored-by: Codex <noreply@openai.com>
---------
Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
Localize interrupted requests, align quota badges, and update the icon picker to the responsive UI revision.
Co-authored-by: Codex <noreply@openai.com>
* fix(openai): start weekly bucket warmup after reset-credit consume
After a successful reset or already_redeemed consume, refresh quota and
advance an already-enabled bucket warmup to the actual reset time. Pull
an early reset's registered future boundary back so due() is not blocked
until the original window ends. Keep the five-minute recheck and skip
warmup when the new round already has usage.
* fix(openai): make credit-triggered weekly warmup idempotent
Register confirmed redemptions with bucket progress and recheck usage in the warmup worker. Preserve precise usage evidence and keep rolling quota deadlines separate from confirmed resets.
Co-authored-by: Codex <noreply@openai.com>
* refactor(openai): keep only the latest warmup redemption
Reuse account warmup progress to recognize retries of the latest credit. Remove the receipt table and keep the existing storage contract.
Co-authored-by: Codex <noreply@openai.com>
---------
Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
Use the empty country default in content preservation assertions and configure residency explicitly in routing header coverage.
Co-authored-by: Codex <noreply@openai.com>
Initialize configuration and settings revisions after test migrations so functional assertions remain independent of migration revision increments.
Co-authored-by: Codex <noreply@openai.com>
Use a shared 24px square help trigger for request settings and automatic
approval details. Align the UI dependency and submodule with the disabled
link background fix.
Co-authored-by: Codex <noreply@openai.com>
Use the empty country policy and leave residency and account routing unset.
Migrate existing follow-location policies and us residency values while
preserving custom settings and advancing the settings revision.
Update the settings UI, existing contract tests, and deployment guidance.
Co-authored-by: Codex <noreply@openai.com>
Recognize known Claude and Gemini signature envelopes without wrapping
response signatures. Remove foreign thinking history while preserving
compatible or unknown signatures, ordinary text, and tool history.
Integrate cleanup into request field editing and reuse unchanged history.
Keep counting and unknown model families untouched, without session caches.
Cover native JSON/SSE, escaped fields, malformed envelopes, and model
switches; document recognition and account compatibility boundaries.
Co-authored-by: Codex <noreply@openai.com>
Use the existing queue timeout for cancellation confirmations so normal peer backpressure does not terminate healthy sessions. Cover delayed acknowledgements and bounded cleanup of unresponsive peers.
Co-authored-by: Codex <noreply@openai.com>
Pair uniquely named calls and results in adjacent model/user turns before
sending native Claude requests. Preserve existing IDs and raw business
fields, avoid ID collisions, and leave ambiguous history unchanged.
Cover JSON/SSE transport, partial IDs, replay stability, and scope limits.
Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
Match the sha2 package without pinning its patch version so dev and test builds retain the intended optimization after lockfile updates. Keep multipart concurrency assertions and timeouts unchanged.
Co-authored-by: Codex <noreply@openai.com>
Start the confirmation deadline after the cancellation frame is written. Arbitrate acknowledgements and expiry in the reader and commit failures under the call table lock. Cover queued cancellation under backpressure and recovery at the default in-flight limit.
Co-authored-by: Codex <noreply@openai.com>
Align the Grok 1.0.92 transport profile, retain only continuation routing metadata, and filter downstream environment headers at provider boundaries.
Co-authored-by: Codex <noreply@openai.com>