From 5148255975d502877bc57f3e0f83b49fabe965a8 Mon Sep 17 00:00:00 2001 From: Thibault Jaigu Date: Fri, 17 Oct 2025 11:51:36 +0100 Subject: [PATCH] fix: create new Requesty profile during OAuth instead of updating default --- src/core/webview/ClineProvider.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/webview/ClineProvider.ts b/src/core/webview/ClineProvider.ts index 0f888e975a..e80f609c15 100644 --- a/src/core/webview/ClineProvider.ts +++ b/src/core/webview/ClineProvider.ts @@ -1457,16 +1457,16 @@ export class ClineProvider // Requesty async handleRequestyCallback(code: string) { - let { apiConfiguration, currentApiConfigName = "default" } = await this.getState() + const { apiConfiguration } = await this.getState() const newConfiguration: ProviderSettings = { ...apiConfiguration, apiProvider: "requesty", requestyApiKey: code, - requestyModelId: apiConfiguration?.requestyModelId || requestyDefaultModelId, + requestyModelId: requestyDefaultModelId, } - await this.upsertProviderProfile(currentApiConfigName, newConfiguration) + await this.upsertProviderProfile("Requesty", newConfiguration) } // Task history