Preserve upstream model descriptors in the AGY GenAI catalog. Follow upstream chat ordering and keep declared image models discoverable without exposing internal helpers in the model menu.
Co-authored-by: Codex <noreply@openai.com>
Persist the always-on WebSocket pool settings in runtime snapshots.
Apply per-turn timeouts and opening limits without replacing the shared
pool, while existing connections retain their original lifetime settings.
Default residency to us and initialize unset values during migration while
preserving explicit clearing. Expand setting help and move input units to
suffixes throughout settings forms.
BREAKING CHANGE: Deployment openai.ws_pool configuration is removed.
Settings API and SDK updates must include the complete connection pool
object. Existing custom pool values must be saved in platform settings.
Co-authored-by: Codex <noreply@openai.com>
Persist request country, OAuth review model, residency, and account routing
as one runtime settings object. Migrate existing country and review values,
and apply routing headers from request snapshots and background policies.
Combine country and routing controls in the OpenAI platform settings page.
Remove residency and account routing from deployment configuration.
BREAKING CHANGE: Settings API and SDK callers must use openaiRequestSettings.
Existing residency and account routing values in YAML must be saved through
platform settings because deployment configuration no longer supplies them.
Co-authored-by: Codex <noreply@openai.com>
Expose authorized executable model metadata from Core and project Antigravity visibility, names, and ordering in the API layer. Cover menu pagination and mixed-provider protocol isolation.
Validation: 1,408 targeted tests and 18 architecture tests passed; workspace Rustfmt and strict Clippy passed.
Co-authored-by: Codex <noreply@openai.com>
Use the upstream agent menu for Antigravity and preserve the union of authorized models for generic clients. Select protocol-specific entries from eligible account catalogs before deduplicating model IDs.
Co-authored-by: Codex <noreply@openai.com>
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>
Route native requests only to providers that support their wire protocol.
Convert Chat Completions directly to Responses, Messages or GenAI while
preserving the shared request lifecycle and native continuation ownership.
Remove provider-side cross-protocol adaptation outside compat modules and
update protocol, provider, routing and delivery regression coverage.
Validation: workspace fmt and strict Clippy; 4,741 tests passed, none skipped.
Live-tested native Codex, AGY and Grok harnesses plus Chat JSON/SSE and tools.
BREAKING CHANGE: Built-in cross-protocol conversion is available only through
Chat Completions. Native callers must use a matching provider protocol.
Co-authored-by: Codex <noreply@openai.com>
Complete root prewarms after routing without selecting an account or sending a model request. Preserve the audit record and exclude prewarms from inference usage and continuation recovery.
Cover queued requests arriving between output deltas, response ordering, and idle connection closure.
Co-authored-by: Codex <noreply@openai.com>
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>
Preserve function tools on coding requests with optional web search. Route required live searches to the authorized account search model and return grounded citations in JSON and streaming responses.
Co-authored-by: Codex <noreply@openai.com>
Project reasoning variants, descriptions, image support, and context windows from the models available to each client key. Apply output limits to the selected model and account.
Co-authored-by: Codex <noreply@openai.com>
Resolve declared model groups to concrete variants before account and model-policy checks. Preserve explicit model IDs and native request bodies, and expose only accessible groups in the catalog.
Co-authored-by: Codex <noreply@openai.com>
Derive stable client-scoped session aliases with two numbers from 1 to 1000,
remove workspace Git remotes and commit metadata, and preserve execution paths.
Expose the action through the privacy preset, editor, and preview controls.
Cover metadata carriers, session isolation, rollback, HTTP, and WebSocket reuse.
Co-authored-by: Codex <noreply@openai.com>
Distinguish a dropped upstream owner from an unbound control channel so idle clients receive the existing replay reconnect notification after terminal delivery.
Co-authored-by: Codex <noreply@openai.com>
Check the bound parent against the authorized direct-model candidates before switching a descendant review. Keep the original model when the parent is outside that scope.
Co-authored-by: Codex <noreply@openai.com>
Keep the last quota observation when the upstream identity is unchanged. Include disabled OAuth accounts in quota maintenance while keeping them out of request selection.
Co-authored-by: Codex <noreply@openai.com>
Plugins and admin HTTP clients must send both OpenAI settings on every replacement. Reject incomplete writes before changing the stored revision.
Co-authored-by: Codex <noreply@openai.com>
Remove obsolete field assertions and the ignored Codex binary TLS comparison. Keep coverage for request validation, compatibility, and local TLS handshakes.
Co-authored-by: Codex <noreply@openai.com>
Scheduler v4 reports session ownership separately from native selection preferences and pins. Only eligible candidates are annotated, and cache preferences do not imply a session binding.
BREAKING CHANGE: scheduler plugins must declare capability version 4 and accept the new candidate fields.
Co-authored-by: Codex <noreply@openai.com>
Move ProxyEndpoint into the neutral upstream module so error observations no longer depend on account types. Keep proxy matching in the account adapter and verify host/port matching, redaction, and the owner dependency graph.
Co-authored-by: Codex <noreply@openai.com>
Migrate the session binding before requesting a full client replay when safe native continuation recovery exceeds the configured wait limit. Remove stale capacity retry headers from client responses while preserving upstream diagnostics and account rotation limits.
Co-authored-by: Codex <noreply@openai.com>
Reserve a connection attempt for another eligible account when a new WebSocket request repeatedly fails before sending. Use the same rotation budget as HTTP while preserving session and replay restrictions.
Co-authored-by: Codex <noreply@openai.com>
Rank quota scheduling strictly by configured reset windows and persist its settings independently from smart scheduling.
Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
Apply the global request profile to account catalog discovery, warmup,
and diagnostic routing. Freeze each operation's identity through the
existing provider profile resolver.
Refresh verified offline releases and centralize their version, artifact,
and environment defaults. Cover ZIP64 MSIX metadata and keep release
update tests independent of the current bundled versions.
Fixes#703
Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
Match independently scheduled hour and minute pairs while claiming each local minute once. Keep the existing string setting and database constraint, and edit the rules as tags using UI v0.11.0.
Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
Use the last successful catalog for the same account, credential revision, and plan until a refresh replaces it. Apply the same exclusions in memory and in PostgreSQL while preserving explicit allowlists and accounts with no catalog.
Co-authored-by: Codex <noreply@openai.com>
Separate protocol identifiers from Provider identities and centralize shared
request facts and observations in gateway-protocol. Keep endpoint models
and private continuation state owned by Providers.
Reorganize the architecture documentation and clarify the shutdown guarantees
for buffered charges and observations.
Validated with workspace formatting, strict Clippy, 3013 affected-module
tests and 16 architecture checks. One reference-binary TLS test is ignored.
Co-authored-by: Codex <noreply@openai.com>
* fix(openai): rotate new round-robin sessions without affinity hits
Strict affinity keeps a session on one account, but the shared request
cursor advanced on every scheduling load, including affinity hits. A new
session then took whatever slot that request volume happened to leave.
Advance a separate session cursor only when round-robin assigns an
account, and keep the request cursor for other strategies.
* fix(openai): advance round robin when an account assignment succeeds
Commit the session binding and round-robin cursor together after acquiring the account lease. Release a conflicting lease before retrying so concurrent first requests share a binding without consuming extra turns. Count delegated selections and preserve explicit plugin picks.
Verified with OpenAI provider tests, store tests against Redis and PostgreSQL, architecture checks, and workspace Clippy.
Co-authored-by: Codex <noreply@openai.com>
---------
Co-authored-by: koeria <riennie@qq.com>
Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>