feat(composite): support Codex endpoints

This commit is contained in:
Kingsley committed 2026-08-19 04:40:32 +00:00
1 parent 82f7dd14f7
commit 58e147fba6
12 files changed
+216 -28

No files matched your search

+6
View File
@@ -53,6 +53,12 @@ route's `upstream_model` before dispatch. For Gemini native paths such as
`/v1beta/models/{model}:generateContent`, the gateway resolves `{model}` and
the handler forwards the resolved upstream model.
Codex Alpha Search and Live requests use the `responses` route domain. Live
requests resolve the model from `session.model`, including multipart `session`
payloads, and apply the configured `upstream_model` before dispatch.
Codex model manifest requests reuse the existing OpenAI account selection and
failover path within the Composite group.
## Built-In Detection
Composite routing detects common public model IDs and provider-prefixed IDs: