diff --git a/src/core/webview/ClineProvider.ts b/src/core/webview/ClineProvider.ts index 7602148..a313722 100644 --- a/src/core/webview/ClineProvider.ts +++ b/src/core/webview/ClineProvider.ts @@ -75,28 +75,6 @@ export class ClineProvider implements vscode.WebviewViewProvider { this.outputChannel.appendLine("ClineProvider instantiated") ClineProvider.activeInstances.add(this) this.workspaceTracker = new WorkspaceTracker(this) - this.revertKodu() - } - - async revertKodu() { - const apiProvider = await this.getGlobalState("apiProvider") - if (apiProvider === "kodu") { - // switch back to previous provider - const anthropicKey = await this.getSecret("apiKey") - if (anthropicKey) { - await this.updateGlobalState("apiProvider", "anthropic" as ApiProvider) - } else { - const openRouterApiKey = await this.getSecret("openRouterApiKey") - if (openRouterApiKey) { - await this.updateGlobalState("apiProvider", "openrouter" as ApiProvider) - } else { - const awsAccessKey = await this.getSecret("awsAccessKey") - if (awsAccessKey) { - await this.updateGlobalState("apiProvider", "bedrock" as ApiProvider) - } - } - } - } } /* diff --git a/webview-ui/src/components/chat/ChatRow.tsx b/webview-ui/src/components/chat/ChatRow.tsx index 9ac62e2..51be219 100644 --- a/webview-ui/src/components/chat/ChatRow.tsx +++ b/webview-ui/src/components/chat/ChatRow.tsx @@ -460,7 +460,7 @@ const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifiedMessa )}
- {/* {apiProvider === "kodu" && ( + {/* {apiProvider === "" && (