diff --git a/apps/web/src/app/api/openrouter/[...path]/route.ts b/apps/web/src/app/api/openrouter/[...path]/route.ts index bf68536f4b..879500a751 100644 --- a/apps/web/src/app/api/openrouter/[...path]/route.ts +++ b/apps/web/src/app/api/openrouter/[...path]/route.ts @@ -56,6 +56,7 @@ import { forbiddenFreeModelResponse, storeAndPreviousResponseIdIsNotSupported, apiKindNotSupportedResponse, + checkExclusiveModelProviderAllowed, } from '@/lib/ai-gateway/llm-proxy-helpers'; import { ProxyErrorType } from '@/lib/proxy-error-types'; import { getBalanceAndOrgSettings } from '@/lib/organizations/organization-usage'; @@ -591,21 +592,6 @@ export async function POST(request: NextRequest): Promise