From 2d5c3ad63bc8bfddd8ee796edcc3c42ae0518797 Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Sun, 25 Aug 2024 20:18:56 -0400 Subject: [PATCH] Fix signing out behavior if using another provider --- src/providers/ClaudeDevProvider.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/providers/ClaudeDevProvider.ts b/src/providers/ClaudeDevProvider.ts index bea13ca..54c7c05 100644 --- a/src/providers/ClaudeDevProvider.ts +++ b/src/providers/ClaudeDevProvider.ts @@ -403,6 +403,7 @@ export class ClaudeDevProvider implements vscode.WebviewViewProvider { await this.storeSecret("koduApiKey", undefined) await this.updateGlobalState("koduEmail", undefined) await this.updateGlobalState("koduCredits", undefined) + await this.updateGlobalState("apiProvider", "kodu") this.claudeDev?.updateApi({ apiProvider: "kodu", koduApiKey: undefined }) await this.postStateToWebview() }