mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 15:03:31 +00:00
* 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 |
||
|---|---|---|
| .. | ||
| data | ||
| abort.test.ts | ||
| anthropic-tool-name-normalization.test.ts | ||
| azure-utils.ts | ||
| bedrock-models.test.ts | ||
| bedrock-utils.ts | ||
| cache-retention.test.ts | ||
| context-overflow.test.ts | ||
| cross-provider-handoff.test.ts | ||
| empty.test.ts | ||
| google-gemini-cli-claude-thinking-header.test.ts | ||
| google-gemini-cli-empty-stream.test.ts | ||
| google-gemini-cli-retry-delay.test.ts | ||
| google-shared-gemini3-unsigned-tool-call.test.ts | ||
| google-thinking-signature.test.ts | ||
| google-tool-call-missing-args.test.ts | ||
| image-tool-result.test.ts | ||
| oauth.ts | ||
| openai-codex-stream.test.ts | ||
| openai-completions-tool-choice.test.ts | ||
| openai-completions-tool-result-images.test.ts | ||
| openai-responses-reasoning-replay-e2e.test.ts | ||
| stream.test.ts | ||
| tokens.test.ts | ||
| tool-call-id-normalization.test.ts | ||
| tool-call-without-result.test.ts | ||
| total-tokens.test.ts | ||
| unicode-surrogate.test.ts | ||
| xhigh.test.ts | ||
| zen.test.ts | ||