Files
smartai/ts
Juergen Kunz 8eb3111e7e fix(ollama): preserve tool_calls in message history for native tool calling
When using native tool calling, the assistant's tool_calls must be saved in
message history. Without this, the model doesn't know it already called a
tool and may loop indefinitely calling the same tool.

This fix adds tool_calls forwarding in chatStreamResponse and chatWithOptions
history formatting.
2026-01-20 03:54:51 +00:00
..
2024-04-04 02:47:44 +02:00
2024-04-25 10:49:07 +02:00
2024-03-31 01:32:37 +01:00