[GH-ISSUE #13931] Claude code + Ollama issue (no tool call) #9116

Closed
opened 2026-04-12 21:58:10 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @praneeth-etta on GitHub (Jan 27, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/13931

Configured Claude Code with Qwen2.5 Coder 7B. Given any instruction, it prints a JSON response but makes no tool calls.

Image

Have anyone faced this issue?

Originally created by @praneeth-etta on GitHub (Jan 27, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/13931 Configured Claude Code with Qwen2.5 Coder 7B. Given any instruction, it prints a JSON response but makes no tool calls. <img width="1542" height="418" alt="Image" src="https://github.com/user-attachments/assets/a5f1c4fa-17c2-4873-8805-b046dc969b7a" /> Have anyone faced this issue?
Author
Owner

@rick-github commented on GitHub (Jan 27, 2026):

Small models are not great at tool use. Try qwen3-coder:30b.

<!-- gh-comment-id:3804494732 --> @rick-github commented on GitHub (Jan 27, 2026): Small models are not great at tool use. Try [qwen3-coder:30b](https://ollama.com/library/qwen3-coder:30b).
Author
Owner

@praneeth-etta commented on GitHub (Jan 27, 2026):

Small models are not great at tool use. Try qwen3-coder:30b.

Thanks.
yeah, just figured it out. trying with https://ollama.com/library/qwen3:8b. it works but still not that good.

<!-- gh-comment-id:3804639889 --> @praneeth-etta commented on GitHub (Jan 27, 2026): > Small models are not great at tool use. Try [qwen3-coder:30b](https://ollama.com/library/qwen3-coder:30b). Thanks. yeah, just figured it out. trying with https://ollama.com/library/qwen3:8b. it works but still not that good.
Author
Owner

@rick-github commented on GitHub (Jan 27, 2026):

Make sure there is adequate context space in the server.

<!-- gh-comment-id:3804658745 --> @rick-github commented on GitHub (Jan 27, 2026): Make sure there is adequate context space in the server.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#9116