Commit Graph
4 Commits
Author SHA1 Message Date
7633a62368 fix(gateway): distinguish local failures from upstream errors (#788)
* fix(gateway): distinguish local failures from upstream errors

Co-authored-by: Codex <noreply@openai.com>

* refactor(gateway): distinguish account selection and request limits

Co-authored-by: Codex <noreply@openai.com>

---------

Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
2026-11-28 16:45:21 +08:00
ZyyandCodex 88da70a77b fix(chat): consolidate validation and preserve request errors
Share Chat request validation and derive routing capabilities only from
declared protocol fields. Reject unsupported custom tool formats instead
of dropping their constraints, and retain safe error codes and parameters
through provider, core and HTTP boundaries.

Remove unused search adapters, duplicate state and unreachable branches.
Align module names and document supported platforms.

Validation: workspace formatting and strict Clippy; 4,736 tests passed,
0 skipped. All 24 live checks passed across OpenAI, Antigravity, xAI and
DeepSeek Messages compatibility.

Co-authored-by: Codex <noreply@openai.com>
2026-11-26 23:35:27 +08:00
ZyyandCodex 2c6d4a8eb6 fix(responses): recover stateless Antigravity WebSocket continuations
Request full-input replay after completed Antigravity turns. Drain queued requests before reconnecting and keep the delivery hint separate from native OpenAI session state.

Co-authored-by: Codex <noreply@openai.com>
2026-11-26 17:01:14 +08:00
ZyyandCodex be6aa130d2 feat(gateway): integrate Antigravity and reorganize architecture
Preserve main quota, Guardian, and WebSocket fixes alongside the new provider and module organization.

Co-authored-by: Codex <noreply@openai.com>
2026-11-25 16:03:37 +08:00