fix google base url

This commit is contained in:
Ramnique Singh 2025-11-20 16:44:34 +05:30
parent ba90cc28ce
commit a796a44421

View file

@ -227,7 +227,7 @@ export async function modelConfig() {
const defaultBaseUrls: Record<(typeof flavors)[number], string> = {
openai: "https://api.openai.com/v1",
anthropic: "https://api.anthropic.com/v1",
google: "https://generativelanguage.googleapis.com",
google: "https://generativelanguage.googleapis.com/v1beta",
ollama: "http://localhost:11434",
"openai-compatible": "http://localhost:8080/v1",
openrouter: "https://openrouter.ai/api/v1",