From 240d002f32185383d455431263555ba739e6b792 Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Sun, 11 Aug 2024 22:10:47 -0400 Subject: [PATCH] New users default to Anthropic for now until OpenRouter issues are resolved --- package.json | 2 +- src/providers/ClaudeDevProvider.ts | 4 ++-- webview-ui/src/components/ApiOptions.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 2022cfa..f0aa7a6 100644 --- a/package.json +++ b/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" diff --git a/src/providers/ClaudeDevProvider.ts b/src/providers/ClaudeDevProvider.ts index c2f3ebb..8098866 100644 --- a/src/providers/ClaudeDevProvider.ts +++ b/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" } } diff --git a/webview-ui/src/components/ApiOptions.tsx b/webview-ui/src/components/ApiOptions.tsx index f993644..43e30aa 100644 --- a/webview-ui/src/components/ApiOptions.tsx +++ b/webview-ui/src/components/ApiOptions.tsx @@ -66,8 +66,8 @@ const ApiOptions: React.FC = ({ showModelOptions, apiConfigurat API Provider - OpenRouter Anthropic + OpenRouter AWS Bedrock