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

25 lines
571 B
JSON

{
"id": "chatcmpl-resp_FUNC1",
"object": "chat.completion",
"created": 1734000000,
"model": "gw-gemini-model",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "fc_1",
"type": "function",
"function": {"name": "get_weather", "arguments": "{\"location\":\"Paris\"}"}
}
]
},
"finish_reason": "tool_calls"
}
],
"usage": {"prompt_tokens": 12, "completion_tokens": 6, "total_tokens": 18}
}