ollama - 💡(How to fix) Fix Tool calls should never be truncated

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

What is the issue?

I'm using Ollama on the command line with: --experimental for the Bash tool call capability. In this case, I also had --experimental-yolo - so the calls were never shown to me for approval.

WIth this, if the model decides to the a curl call with: curl -H Content-Type: application/json ..., it is impossible to see what URL it is calling with what - see this screenshot with an example:

<img width="715" height="1016" alt="Image" src="https://github.com/user-attachments/assets/1c0d1fd8-74e1-451c-b6ee-9ad649ce36a8" />

This makes debugging for myself what the agent is doing much harder as I cannot see any of the payloads involved. In the above, I have no idea which piped jq command was called, nor if the model used the one I had in my prompt.

Relevant log output

OS

Linux

GPU

AMD

CPU

AMD

Ollama version

0.30.5

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING