fix: Add vercel-ai-gateway to MODELS_BY_PROVIDER and dynamicProviders

This commit is contained in:
daniel-lxs 2025-08-26 13:45:38 -05:00
parent d5ecce03f0
commit da5f42840e
No known key found for this signature in database
GPG key ID: 21C74479048B3AA6

View file

@ -550,6 +550,7 @@ export const MODELS_BY_PROVIDER: Record<
openrouter: { id: "openrouter", label: "OpenRouter", models: [] },
requesty: { id: "requesty", label: "Requesty", models: [] },
unbound: { id: "unbound", label: "Unbound", models: [] },
"vercel-ai-gateway": { id: "vercel-ai-gateway", label: "Vercel AI Gateway", models: [] },
}
export const dynamicProviders = [
@ -559,6 +560,7 @@ export const dynamicProviders = [
"openrouter",
"requesty",
"unbound",
"vercel-ai-gateway",
] as const satisfies readonly ProviderName[]
export type DynamicProvider = (typeof dynamicProviders)[number]