feat: gemini adapter with bidirectional translation incl streaming and embeddings

This commit is contained in:
2026-08-20 04:16:10 +01:00
parent 876d340054
commit 2891766b5f
48 changed files with 2463 additions and 7 deletions
+22
View File
@@ -0,0 +1,22 @@
{
"model": "gemini-2.5-pro",
"messages": [
{"role": "system", "content": "You are a helpful weather bot."},
{"role": "user", "content": "What's the weather in Paris?"}
],
"tools": [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get current weather for a location",
"parameters": {
"type": "object",
"properties": {"location": {"type": "string"}},
"required": ["location"]
}
}
}
],
"tool_choice": {"type": "function", "function": {"name": "get_weather"}}
}