From 245f3d404e0f88029917d30296ee7655f4c45e9f Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Wed, 14 Aug 2024 01:30:57 -0400 Subject: [PATCH] Add OpenRouter disclaimer --- src/providers/ClaudeDevProvider.ts | 4 ++-- webview-ui/src/components/ApiOptions.tsx | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/providers/ClaudeDevProvider.ts b/src/providers/ClaudeDevProvider.ts index 3cce982..fb04877 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 (better rate limits and wider model selection) - apiProvider = "openrouter" + // New users should default to anthropic (openrouter has issues, bedrock is complicated) + apiProvider = "anthropic" } } diff --git a/webview-ui/src/components/ApiOptions.tsx b/webview-ui/src/components/ApiOptions.tsx index 1fcf83d..b046c31 100644 --- a/webview-ui/src/components/ApiOptions.tsx +++ b/webview-ui/src/components/ApiOptions.tsx @@ -66,9 +66,9 @@ const ApiOptions: React.FC = ({ showModelOptions, apiConfigurat API Provider - OpenRouter Anthropic AWS Bedrock + OpenRouter @@ -113,7 +113,11 @@ const ApiOptions: React.FC = ({ showModelOptions, apiConfigurat This key is stored locally and only used to make API requests from this extension. You can get an OpenRouter API key by signing up here. - + {" "} + + (Note: OpenRouter support is experimental and may + not work well with large files.) +

)}