feat: Add support for Google AI (Gemini) as a custom model provider

This commit is contained in:
n4ze3m
2024-12-21 18:13:21 +05:30
parent a3c76f0757
commit 772000bff4
5 changed files with 56 additions and 13 deletions

View File

@@ -44,5 +44,9 @@ export const OAI_API_PROVIDERS = [
value: "openrouter",
baseUrl: "https://openrouter.ai/api/v1"
},
{
label: "Google AI",
value: "gemini",
baseUrl: "https://generativelanguage.googleapis.com/v1beta/openai"
}
]