Fix signing out behavior if using another provider

This commit is contained in:
Saoud Rizwan committed 2024-08-26 01:00:00 -04:00
1 parent 5f8573bb92
commit 2d5c3ad63b
1 file changed
+1
+1
View File
@@ -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()
}