Add OpenRouter
This commit is contained in:
parent
9b80f3716a
commit
d1ca3118d6
1 changed files with 27 additions and 0 deletions
|
@ -69,6 +69,11 @@
|
|||
baseURL = "http://localhost:11434/v1";
|
||||
envKey = "OLLAMA_API_KEY";
|
||||
};
|
||||
openrouter = {
|
||||
name = "OpenRouter";
|
||||
baseURL = "https://openrouter.ai/api/v1";
|
||||
envKey = "OPENROUTER_API_KEY";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -87,6 +92,28 @@
|
|||
supports_function_calling = true;
|
||||
supports_vision = true;
|
||||
}
|
||||
{
|
||||
name = "deepseek-r1:latest";
|
||||
supports_function_calling = true;
|
||||
supports_vision = true;
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
type = "openai-compatible";
|
||||
name = "openrouter";
|
||||
api_base = "https://openrouter.ai/api/v1";
|
||||
models = [
|
||||
{
|
||||
name = "qwen/qwen-2.5-coder-32b-instruct:free";
|
||||
supports_function_calling = true;
|
||||
supports_vision = true;
|
||||
}
|
||||
{
|
||||
name = "deepseek/deepseek-r1-0528:free";
|
||||
supports_function_calling = true;
|
||||
supports_vision = true;
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
|
|
Reference in a new issue