diff --git a/src/app/(dashboard)/dashboard/providers/[id]/page.tsx b/src/app/(dashboard)/dashboard/providers/[id]/page.tsx index acbd90d8df..37b3e4218d 100644 --- a/src/app/(dashboard)/dashboard/providers/[id]/page.tsx +++ b/src/app/(dashboard)/dashboard/providers/[id]/page.tsx @@ -1051,7 +1051,7 @@ export default function ProviderDetailPage() { name: cm.name || cm.id, source: cm.source === "api-sync" ? "api-sync" : "custom", })); - return [...builtInModels, ...syncedExtras, ...customExtras]; + return [...builtInModels, ...syncedExtras]; }, [providerId, registryModels, syncedAvailableModels, modelMeta.customModels]); const providerAlias = getProviderAlias(providerId); const isManagedAvailableModelsProvider = isCompatible || providerId === "openrouter"; @@ -2680,11 +2680,7 @@ export default function ProviderDetailPage() {

-
- + 0) { - return NextResponse.json( - { error: "Only one connection is allowed for this OpenAI Compatible node" }, - { status: 400 } - ); - } + // Allow multiple connections for compatible nodes exactly like first-party providers providerSpecificData = { ...(providerSpecificData || {}), @@ -135,12 +130,7 @@ export async function POST(request: Request) { } const existingConnections = await getProviderConnections({ provider }); - if (!allowMultipleCompatibleConnections && existingConnections.length > 0) { - return NextResponse.json( - { error: "Only one connection is allowed for this Anthropic Compatible node" }, - { status: 400 } - ); - } + // Allow multiple connections for compatible nodes exactly like first-party providers providerSpecificData = { ...(providerSpecificData || {}),