From 131e413cbd059e67c992e362e94e19e8d0505e55 Mon Sep 17 00:00:00 2001 From: Rahul sharma Date: Sun, 30 Aug 2026 17:39:13 +0530 Subject: [PATCH] fix: mark Vercel AI Gateway as passthroughModels (#11771) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Correção pequena e correta — `passthroughModels: true` para o Vercel AI Gateway. Validado no worktree combinado do lote (typecheck limpo, gates estáticos verdes). Obrigado! --- open-sse/config/providers/registry/vercel-ai-gateway/index.ts | 1 + src/shared/constants/providers/apikey/gateways.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/open-sse/config/providers/registry/vercel-ai-gateway/index.ts b/open-sse/config/providers/registry/vercel-ai-gateway/index.ts index 2171a2d88f..f9e6038009 100644 --- a/open-sse/config/providers/registry/vercel-ai-gateway/index.ts +++ b/open-sse/config/providers/registry/vercel-ai-gateway/index.ts @@ -10,4 +10,5 @@ export const vercel_ai_gatewayProvider: RegistryEntry = { authType: "apikey", authHeader: "bearer", models: CHAT_OPENAI_COMPAT_MODELS["vercel-ai-gateway"], + passthroughModels: true, }; diff --git a/src/shared/constants/providers/apikey/gateways.ts b/src/shared/constants/providers/apikey/gateways.ts index 06b0a23f2e..4c8449e039 100644 --- a/src/shared/constants/providers/apikey/gateways.ts +++ b/src/shared/constants/providers/apikey/gateways.ts @@ -784,6 +784,7 @@ export const APIKEY_PROVIDERS_GATEWAYS = { icon: "route", color: "#111827", textIcon: "VAI", + passthroughModels: true, website: "https://vercel.com/docs/ai-gateway", }, llm7: {