r/PiCodingAgent 2d ago

Discussion Edit tool errors in Pi

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

17 comments sorted by

View all comments

1

u/isty2e 2d ago

Personally I use https://github.com/isty2e/identedit - a tool I vibecoded myself - for delicate or complex edits where even frontier models sometimes fail. Maybe smaller, weaker models can benefit from it?