fix: route OpenRouter profiles through v1 API

This commit is contained in:
Tam Nhu Tran
2026-05-05 11:44:58 -04:00
parent fcfd2d279e
commit dc8bbd85e7
5 changed files with 49 additions and 3 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ export interface ProviderPresetDefinition {
icon?: string;
}
export const OPENROUTER_BASE_URL = 'https://openrouter.ai/api';
export const OPENROUTER_BASE_URL = 'https://openrouter.ai/api/v1';
/**
* Legacy aliases mapped to canonical preset IDs.