There was an error while loading. Please reload this page.
1 parent 9a95361 commit b6d9f56Copy full SHA for b6d9f56
1 file changed
apps/web/src/lib/ai-gateway/providers/vercel/index.ts
@@ -95,6 +95,11 @@ export async function shouldRouteToVercel(
95
request: GatewayRequest,
96
randomSeed: string
97
) {
98
+ // BYOK in the Vercel AI Gateway was not working for Laguna models.
99
+ if (requestedModel.includes('laguna')) {
100
+ return false;
101
+ }
102
+
103
if (isOpenRouterGpt56PromoModel(requestedModel)) {
104
console.debug(
105
`[shouldRouteToVercel] routing ${requestedModel} to OpenRouter for the GPT-5.6 promotion`
0 commit comments