mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-12 18:15:48 +00:00
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:
1 parent
723ce28431
commit
7d4961e7a9
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user