From 0e09cc5cd457467a05f6c7b40863664b966aebaf Mon Sep 17 00:00:00 2001 From: Erosika Date: Thu, 2 Jul 2026 18:42:31 -0400 Subject: [PATCH] fix(desktop): remount provider config panel when the provider changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The panel instance survived a provider switch, so an in-flight fetch for the old provider could resolve last and seed the new provider's panel with the wrong schema — Save would then PUT those keys to the new provider's endpoint. Key the mount on the provider name. --- apps/desktop/src/app/settings/config-settings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/desktop/src/app/settings/config-settings.tsx b/apps/desktop/src/app/settings/config-settings.tsx index 2589950e4fd..d6dc58a8e99 100644 --- a/apps/desktop/src/app/settings/config-settings.tsx +++ b/apps/desktop/src/app/settings/config-settings.tsx @@ -411,7 +411,7 @@ export function ConfigSettings({ value={getNested(config, key)} /> {key === 'memory.provider' && typeof getNested(config, key) === 'string' && getNested(config, key) ? ( - + ) : null} ))}