mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Add OpenRouter custom model scheme
This commit is contained in:
@@ -14,8 +14,8 @@ export function validateApiConfiguration(apiConfiguration?: ApiConfiguration): s
|
||||
}
|
||||
break
|
||||
case "openrouter":
|
||||
if (!apiConfiguration.openRouterApiKey) {
|
||||
return "You must provide a valid API key or choose a different provider."
|
||||
if (!apiConfiguration.openRouterApiKey || !apiConfiguration.openRouterModelId) {
|
||||
return "You must provide a valid API key and model ID or choose a different provider."
|
||||
}
|
||||
break
|
||||
case "vertex":
|
||||
|
||||
Reference in New Issue
Block a user