mirror of
https://github.com/lukaszraczylo/traefik-llmgateway.git
synced 2026-10-16 05:37:28 +00:00
feat: gemini adapter with bidirectional translation incl streaming and embeddings
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"model": "gemini-2.5-pro",
|
||||
"messages": [
|
||||
{"role": "user", "content": "What's the weather in Paris and Tokyo?"},
|
||||
{
|
||||
"role": "assistant",
|
||||
"content": null,
|
||||
"tool_calls": [
|
||||
{"id": "call_1", "type": "function", "function": {"name": "get_weather", "arguments": "{\"location\":\"Paris\"}"}},
|
||||
{"id": "call_2", "type": "function", "function": {"name": "get_weather", "arguments": "{\"location\":\"Tokyo\"}"}}
|
||||
]
|
||||
},
|
||||
{"role": "tool", "tool_call_id": "call_1", "content": "{\"temp_c\":18}"},
|
||||
{"role": "tool", "tool_call_id": "call_2", "content": "{\"temp_c\":27}"}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user