diff --git a/src/core/webview/ClineProvider.ts b/src/core/webview/ClineProvider.ts index b6c00ee379..33f5d93504 100644 --- a/src/core/webview/ClineProvider.ts +++ b/src/core/webview/ClineProvider.ts @@ -1425,7 +1425,9 @@ export class ClineProvider requestyModelId: apiConfiguration?.requestyModelId || requestyDefaultModelId, } - await this.upsertProviderProfile(currentApiConfigName, newConfiguration) + // Create a new profile with a unique name to trigger settings refresh + const newProfileName = currentApiConfigName === "default" ? "requesty-oauth" : currentApiConfigName + await this.upsertProviderProfile(newProfileName, newConfiguration) } // Task history