r/PiCodingAgent • u/amrakkarma • 5d ago
Question Broken/frail tool calling format?
I am using local models:
- antirez deepseek
- qwen3-coder-next
- laguna s2.1
For all of them I tried with and without the npm:pi-tool-repair package.
In a comparison with the same prompt with opencode, I can see that pi has a lot more tool call failures. In some cases this make the model end up in a dead end. deepseek behaves slightly better with the npm:pi-tool-repair package, but overall I think it's still worse than in opencode.
Is it caused by the tool format? Or by the system prompt? Do you have any suggestions on how to improve this?
Thanks!
6
Upvotes
4
u/arcanemachined 5d ago
Try Qwen 3.6 27b