Browse Source

New users default to Anthropic for now until OpenRouter issues are resolved

Saoud Rizwan 1 year ago
parent
commit
240d002f32
3 changed files with 4 additions and 4 deletions
  1. 1 1
      package.json
  2. 2 2
      src/providers/ClaudeDevProvider.ts
  3. 1 1
      webview-ui/src/components/ApiOptions.tsx

+ 1 - 1
package.json

@@ -2,7 +2,7 @@
   "name": "claude-dev",
   "displayName": "Claude Dev",
   "description": "Autonomous software engineer right in your IDE, capable of creating/editing files, executing commands, and more with your permission every step of the way.",
-  "version": "1.1.1",
+  "version": "1.1.11",
   "icon": "icon.png",
   "engines": {
     "vscode": "^1.84.0"

+ 2 - 2
src/providers/ClaudeDevProvider.ts

@@ -457,8 +457,8 @@ export class ClaudeDevProvider implements vscode.WebviewViewProvider {
 			if (apiKey) {
 				apiProvider = "anthropic"
 			} else {
-				// New users should default to openrouter
-				apiProvider = "openrouter"
+				// New users should default to anthropic (openrouter doesn't perform well with large files)
+				apiProvider = "anthropic"
 			}
 		}
 

+ 1 - 1
webview-ui/src/components/ApiOptions.tsx

@@ -66,8 +66,8 @@ const ApiOptions: React.FC<ApiOptionsProps> = ({ showModelOptions, apiConfigurat
 					<span style={{ fontWeight: 500 }}>API Provider</span>
 				</label>
 				<VSCodeDropdown id="api-provider" value={selectedProvider} onChange={handleInputChange("apiProvider")}>
-					<VSCodeOption value="openrouter">OpenRouter</VSCodeOption>
 					<VSCodeOption value="anthropic">Anthropic</VSCodeOption>
+					<VSCodeOption value="openrouter">OpenRouter</VSCodeOption>
 					<VSCodeOption value="bedrock">AWS Bedrock</VSCodeOption>
 				</VSCodeDropdown>
 			</div>