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

This commit is contained in:
Saoud Rizwan 2024-08-11 22:10:47 -04:00
parent e43f4cef98
commit 240d002f32
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
"name": "claude-dev", "name": "claude-dev",
"displayName": "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.", "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", "icon": "icon.png",
"engines": { "engines": {
"vscode": "^1.84.0" "vscode": "^1.84.0"

View File

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

View File

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