fix(provider-cloud): createOpenRouter didn't have default baseURL (#194)
This commit is contained in:
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) => {
|
||||
|
||||
Reference in new issue
Block a user