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
+19
View File
@@ -0,0 +1,19 @@
{
"contents": [
{"role": "user", "parts": [{"text": "What's the weather in Paris and Tokyo?"}]},
{
"role": "model",
"parts": [
{"functionCall": {"name": "get_weather", "args": {"location": "Paris"}}},
{"functionCall": {"name": "get_weather", "args": {"location": "Tokyo"}}}
]
},
{
"role": "user",
"parts": [
{"functionResponse": {"name": "get_weather", "response": {"content": "{\"temp_c\":18}"}}},
{"functionResponse": {"name": "get_weather", "response": {"content": "{\"temp_c\":27}"}}}
]
}
]
}