fix(provider-cloud): createOpenRouter didn't have default baseURL (#194)

This commit is contained in:
Neko authored and GitHub committed 2025-07-19 09:29:26 +08:00
1 parent 119b0db0de
commit f26c933037
1 file changed
+1 -1
@@ -92,7 +92,7 @@ export interface OpenRouterOptions {
transforms?: string[]
}
export const createOpenRouter = (apiKey: string, baseURL = '') => merge(
export const createOpenRouter = (apiKey: string, baseURL = 'https://openrouter.ai/api/v1/') => merge(
createMetadataProvider('openrouter'),
{
chat: (model: string, openRouterOptions?: OpenRouterOptions) => {