mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-17 06:17:09 +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:
@@ -23,7 +23,7 @@ export interface ProviderPreset {
|
||||
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
|
||||
|
||||
@@ -21,7 +21,7 @@ export interface ProviderPreset {
|
||||
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[] = [
|
||||
// Recommended - OpenRouter
|
||||
|
||||
Reference in New Issue
Block a user