co-mono/packages/coding-agent/src
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
..
cli feat(ai): add Kimi For Coding provider support 2026-01-29 04:12:28 +01:00
core feat(ai): add Vercel AI Gateway routing support (#1051) 2026-01-30 01:44:51 +01:00
modes fix(coding-agent): show folder name for extensions in config selector (#1064) 2026-01-30 01:43:01 +01:00
utils refactor(coding-agent): simplify AgentSession 2026-01-24 01:38:58 +01:00
cli.ts Set coding agent CLI process title (#742) 2026-01-15 13:14:14 +01:00
config.ts feat(coding-agent): add PI_SHARE_VIEWER_URL env var for custom share viewer (#889) 2026-01-21 23:19:12 +01:00
index.ts feat(coding-agent): resolve resources with enabled state 2026-01-25 02:13:24 +01:00
main.ts fix(coding-agent): improve thinking defaults in footer 2026-01-29 00:33:45 +01:00
migrations.ts chore: remove deprecation comment from getToolsDir, add changelog entry for #470 2026-01-05 20:26:48 +01:00