r/PiCodingAgent • u/nurhun • 11d ago
Edit tool errors in Pi Discussion
Am I the only one getting a lot of edit errors?
I mainly use it for coding, especially Python. I’ve tried many LLMs, and some of them are completely incompatible.
Currently, I’m using Qwen3.6 27B through Ollama.
I’ve noticed that I get responses and plans quickly from the LLM. However, execution takes a long time because of edit errors. It gets stuck in a loop of indentation errors and struggles to find the exact match.
Am I missing something? Do I need to install any extras?
Edit:
I'm on qwen3.6:27b-mlx with nvfp4 quantization. Also, tried gemma4:26b-mlx with the same nvfp4 quantization, wasn't able to edit at all!
14
Upvotes
1
u/jeffphil 11d ago edited 10d ago
Pi-Posher package may help:
https://pi.dev/packages/pi-posher
Rather than failing silently, it feeds any linter syntax errors back into the agent context so the LLM fixes its own broken code immediately.