From 4799aaeef06e7136b522a91c32a8a6e929340629 Mon Sep 17 00:00:00 2001 From: "Bingxi Zhao (Frank)" <13051345080@163.com> Date: Sat, 11 Apr 2026 13:00:54 +0800 Subject: [PATCH] fix: improve provider switch --- web/app/(utility)/settings/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/(utility)/settings/page.tsx b/web/app/(utility)/settings/page.tsx index d83dca4dc..dfbd0efcf 100644 --- a/web/app/(utility)/settings/page.tsx +++ b/web/app/(utility)/settings/page.tsx @@ -1030,7 +1030,7 @@ function SettingsPageContent() { const field = activeService === "search" ? "provider" : "binding"; updateProfileField(field, val); const match = (providers[activeService] || []).find((p) => p.value === val); - if (match?.base_url && !activeProfile.base_url) { + if (match?.base_url) { updateProfileField("base_url", match.base_url); } }}