Added google tool calling with gemini 2.0 Flash

This commit is contained in:
2025-03-08 19:21:51 +00:00
parent b9b40ffc1d
commit a840fc3824
6 changed files with 657 additions and 10 deletions

View File

@@ -32,6 +32,19 @@ MODELS = {
},
],
},
"google": {
"name": "Google Gemini",
"endpoint": "https://generativelanguage.googleapis.com/v1beta/generateContent",
"models": [
{
"id": "gemini-2.0-flash",
"name": "Gemini 2.0 Flash",
"default": True,
"context_window": 1000000,
"description": "Input $0.1/M tokens, Output $0.4/M tokens",
}
],
},
"openrouter": {
"name": "OpenRouter",
"endpoint": "https://openrouter.ai/api/v1/chat/completions",