[GH-ISSUE #6000] Cli broken with the new tools update #3752

Closed
opened 2026-04-12 14:33:39 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @anandanand84dv on GitHub (Jul 26, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6000

What is the issue?

After the new tools implementation. It errors out on the second question.

Error: template: :28:7: executing "" at <.ToolCalls>: can't evaluate field ToolCalls in type *api.Message

image

OS

Linux

GPU

Nvidia

CPU

Intel

Ollama version

0.2.5

Originally created by @anandanand84dv on GitHub (Jul 26, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6000 ### What is the issue? After the new tools implementation. It errors out on the second question. ```Error: template: :28:7: executing "" at <.ToolCalls>: can't evaluate field ToolCalls in type *api.Message``` ![image](https://github.com/user-attachments/assets/b4b283ef-7f4e-498f-97a7-7afa71b0e32a) ### OS Linux ### GPU Nvidia ### CPU Intel ### Ollama version 0.2.5
GiteaMirror added the bug label 2026-04-12 14:33:39 -05:00
Author
Owner

@jmorganca commented on GitHub (Jul 26, 2024):

Hi @anandanand84dv sorry about this. Would it be possible to upgrade to 0.3.0? This should fix it.

<!-- gh-comment-id:2253562779 --> @jmorganca commented on GitHub (Jul 26, 2024): Hi @anandanand84dv sorry about this. Would it be possible to upgrade to 0.3.0? This should fix it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#3752