Files
traefik-llmgateway/testdata/gemini/chat_parallel_tool_results_in.json
T

17 lines
623 B
JSON

{
"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}"}
]
}