Add Vercel AI Gateway support
This commit is contained in:
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"
|
||||
|
||||
Reference in New Issue
Block a user