diff --git a/src/core/webview/ClineProvider.ts b/src/core/webview/ClineProvider.ts index 69b6b23a79..de97218073 100644 --- a/src/core/webview/ClineProvider.ts +++ b/src/core/webview/ClineProvider.ts @@ -1448,8 +1448,8 @@ export class ClineProvider implements vscode.WebviewViewProvider { if (apiKey) { apiProvider = "anthropic" } else { - // New users should default to cline - apiProvider = "cline" + // New users should default to openrouter, since they've opted to use an API key instead of signing in + apiProvider = "openrouter" } } diff --git a/webview-ui/src/components/welcome/WelcomeView.tsx b/webview-ui/src/components/welcome/WelcomeView.tsx index 6fef99ded5..c2024db5ca 100644 --- a/webview-ui/src/components/welcome/WelcomeView.tsx +++ b/webview-ui/src/components/welcome/WelcomeView.tsx @@ -57,13 +57,14 @@ const WelcomeView = () => {
- Log in to Cline + Sign Up with Cline
@@ -71,9 +72,11 @@ const WelcomeView = () => {
- setShowApiOptions(!showApiOptions)}> - {showApiOptions ? "Hide API options" : "Use your own provider API key"} - + {!showApiOptions && ( + setShowApiOptions(!showApiOptions)}> + Use your own API key + + )} {showApiOptions && (