From 742b010989cf0f6b2508c90f687caa25ecbf32ee Mon Sep 17 00:00:00 2001 From: Thibault Jaigu Date: Tue, 26 Aug 2025 17:08:05 +0100 Subject: [PATCH] create a new profile when being redirected from requesty --- src/core/webview/ClineProvider.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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