mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-21 02:04:32 +00:00
Add Vercel AI Gateway support
This commit is contained in:
parent
907fa937e6
commit
164a69a601
12 changed files with 2254 additions and 3 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -96,6 +96,7 @@ export function getEnvApiKey(provider: any): string | undefined {
|
|||
cerebras: "CEREBRAS_API_KEY",
|
||||
xai: "XAI_API_KEY",
|
||||
openrouter: "OPENROUTER_API_KEY",
|
||||
"ai-gateway": "AI_GATEWAY_API_KEY",
|
||||
zai: "ZAI_API_KEY",
|
||||
mistral: "MISTRAL_API_KEY",
|
||||
minimax: "MINIMAX_API_KEY",
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@ export type KnownProvider =
|
|||
| "groq"
|
||||
| "cerebras"
|
||||
| "openrouter"
|
||||
| "ai-gateway"
|
||||
| "zai"
|
||||
| "mistral"
|
||||
| "minimax"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue