[GH-ISSUE #6335] Bug in Continuous Questioning and Output Content on Windows #29735

Closed
opened 2026-04-22 08:54:39 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @Lucas-SJY on GitHub (Aug 13, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6335

What is the issue?

I got the following issues on Windows.
In ollama 0.2.5, running llama3.1, It can not response for the second time and returned the following error message "Error: template: :28:7: executing "" at <.ToolCalls>: can't evaluate field ToolCalls in type *api.Message", and it sometimes did not return any outputs. Everything was showed in the following screenshot.
image

OS

Windows

GPU

Nvidia

CPU

Intel

Ollama version

0.2.5

Originally created by @Lucas-SJY on GitHub (Aug 13, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6335 ### What is the issue? I got the following issues on Windows. In ollama 0.2.5, running llama3.1, It can not response for the second time and returned the following error message "Error: template: :28:7: executing "" at <.ToolCalls>: can't evaluate field ToolCalls in type *api.Message", and it sometimes did not return any outputs. Everything was showed in the following screenshot. ![image](https://github.com/user-attachments/assets/90b5725f-4bc0-4380-85d9-adaae37f55ac) ### OS Windows ### GPU Nvidia ### CPU Intel ### Ollama version 0.2.5
GiteaMirror added the needs more info label 2026-04-22 08:54:39 -05:00
Author
Owner

@rick-github commented on GitHub (Aug 13, 2024):

llama3.1 supports tool use, and has a template for this function. ollama has only supported tool use since v0.3.0. If you want to use llama3.1, you need to upgrade ollama.

<!-- gh-comment-id:2285836942 --> @rick-github commented on GitHub (Aug 13, 2024): llama3.1 supports tool use, and has a template for this function. ollama has only supported tool use since v0.3.0. If you want to use llama3.1, you need to [upgrade](https://github.com/ollama/ollama/blob/main/docs/faq.md#how-can-i-upgrade-ollama) ollama.
Author
Owner

@dhiltgen commented on GitHub (Sep 5, 2024):

If you're still having trouble with tool calling after upgrading, please share an updated log and I'll reopen the issue so we can investigate.

<!-- gh-comment-id:2332446463 --> @dhiltgen commented on GitHub (Sep 5, 2024): If you're still having trouble with tool calling after upgrading, please share an updated log and I'll reopen the issue so we can investigate.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#29735