BoltAI ignores tool calls ID
J
John
Ollama returns the ID for tool calls, but BoltAI ignores them and instead sends an empty string as a response.
ollama response:
{
"choices":
[
{
"index": 0,
"message":
{
"role": "assistant",
"content": "[REMOVED]",
"tool_calls":
[
{
"id": "call_d282inrd",
"index": 0,
"type": "function",
"function":
{
"name": "[REMOVED]",
"arguments": "[REMOVED]"
}
}
]
},
"finish_reason": "tool_calls"
}
]
}
subsequent BoltAI request:
{
"messages":
[
{
"content": "[REMOVED]",
"role": "assistant",
"tool_calls":
[
{
"function":
{
"name": "[REMOVED]",
"arguments": "[REMOVED]"
},
"type": "function",
"id": ""
}
]
},
{
"content": "[REMOVED]",
"tool_call_id": "",
"role": "tool"
}
]
}
BoltAI v1.35.3 (build 163)
Ollama v0.9.5