
▲ 17 r/PiCodingAgent
New to Pi, why does it run edit and write commands for simple questions?
Just installed Pi and this is literally the first message I sent it. I asked "Can you show me an example from your documentation?" and instead of just answering, it started firing off edit and write commands to my nvm node directory which it doesn't even need to do just to read something.
The edit call failed immediately with "edits must contain at least one replacement", then it tried a write, and eventually it did manage to read the README. But why is it going through all this just to answer a simple question?
Is this normal behavior? Does Pi always do this or is there something in the default config causing it?
(Side note: it also ran rm -f on my nvm path to "clean up" its own mistake, which was a little scary)
u/Death_Gamer_Solo — 4 days ago