co-mono/packages
Ben Vargas e045a9f142
feat(ai): add Vercel AI Gateway routing support (#1051)
* feat(ai): add Vercel AI Gateway routing support

Add vercelGatewayRouting to OpenAICompletionsCompat, parallel to
openRouterRouting. When a model targets ai-gateway.vercel.sh and has
vercelGatewayRouting configured, the openai-completions provider passes
providerOptions.gateway with only/order in the request body.

Changes:
- types.ts: VercelGatewayRouting interface + field on OpenAICompletionsCompat
- openai-completions.ts: buildParams passes providerOptions.gateway,
  detectCompat/getCompat include the new field
- model-registry.ts: VercelGatewayRoutingSchema for models.json validation
- test: updated Required<OpenAICompletionsCompat> in test fixture

* docs(coding-agent): add vercelGatewayRouting to custom models documentation
2026-01-30 01:44:51 +01:00
..
agent Release v0.50.3 2026-01-29 04:19:02 +01:00
ai feat(ai): add Vercel AI Gateway routing support (#1051) 2026-01-30 01:44:51 +01:00
coding-agent feat(ai): add Vercel AI Gateway routing support (#1051) 2026-01-30 01:44:51 +01:00
mom Release v0.50.3 2026-01-29 04:19:02 +01:00
pods Release v0.50.3 2026-01-29 04:19:02 +01:00
tui feat(tui,coding-agent): add ctrl+b/ctrl+f cursor navigation keybindings (#1053) 2026-01-30 01:43:54 +01:00
web-ui Release v0.50.3 2026-01-29 04:19:02 +01:00