diff --git a/src/providers/ClaudeDevProvider.ts b/src/providers/ClaudeDevProvider.ts index a759c0a..ae10d72 100644 --- a/src/providers/ClaudeDevProvider.ts +++ b/src/providers/ClaudeDevProvider.ts @@ -444,7 +444,7 @@ export class ClaudeDevProvider implements vscode.WebviewViewProvider { await this.storeSecret("openRouterApiKey", apiKey) await this.postStateToWebview() this.claudeDev?.updateApi({ apiProvider: openrouter, openRouterApiKey: apiKey }) - await this.postMessageToWebview({ type: "action", action: "settingsButtonTapped" }) + // await this.postMessageToWebview({ type: "action", action: "settingsButtonTapped" }) // bad ux if user is on welcome } // Task history diff --git a/webview-ui/src/components/ApiOptions.tsx b/webview-ui/src/components/ApiOptions.tsx index f521c1d..c207894 100644 --- a/webview-ui/src/components/ApiOptions.tsx +++ b/webview-ui/src/components/ApiOptions.tsx @@ -153,7 +153,10 @@ const ApiOptions = ({ showModelOptions, apiErrorMessage }: ApiOptionsProps) => { OpenRouter API Key {!apiConfiguration?.openRouterApiKey && ( - + Get OpenRouter API Key )}