fix(openrouter): correct ANTHROPIC_BASE_URL to https://openrouter.ai/api

Update OPENROUTER_BASE_URL in provider presets (CLI and UI) which is
used as ANTHROPIC_BASE_URL when creating OpenRouter profiles.
This commit is contained in:
kaitranntt committed 2025-12-20 23:31:11 -05:00
1 parent 723ce28431
commit 7d4961e7a9
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ export interface ProviderPreset {
alwaysThinkingEnabled?: boolean; alwaysThinkingEnabled?: boolean;
} }
export const OPENROUTER_BASE_URL = 'https://openrouter.ai/api/v1'; export const OPENROUTER_BASE_URL = 'https://openrouter.ai/api';
/** /**
* Provider presets available via CLI and UI * Provider presets available via CLI and UI
+1 -1
View File
@@ -21,7 +21,7 @@ export interface ProviderPreset {
category: PresetCategory; category: PresetCategory;
} }
export const OPENROUTER_BASE_URL = 'https://openrouter.ai/api/v1'; export const OPENROUTER_BASE_URL = 'https://openrouter.ai/api';
export const PROVIDER_PRESETS: ProviderPreset[] = [ export const PROVIDER_PRESETS: ProviderPreset[] = [
// Recommended - OpenRouter // Recommended - OpenRouter