mirror of
https://github.com/ollama/ollama.git
synced 2025-11-10 21:27:47 +01:00
Added support for converting both `name` and `tool_call_id` fields, which different clients might provide. `name` is a legacy field from the OpenAI completions API. For `tool_call_id` we inspect previous messages and look for a matching tool call ID and grab its name Issue: https://github.com/ollama/ollama/issues/11704
26 KiB
26 KiB