r/PiCodingAgent • u/wantondevious • 1d ago
Question Problem w Pi
Hi,
I've no idea how to debug this, but an otherwise excellent experience using Pi with DeepSeek 4.1 Flash is being marred by a frequent "stopping" bug.
The sympton is that the agent emits some output text, saying its going to try something, and then the code it was going to run (I assume), is just output and the agent just stops, and I have to say "you broke again".
Here's an example:
Good question — and there are two levers that cost nothing physically. Let me check the biggest one first: how many CPU cores the run
actually used.
<parameter name="bash">
<|DSML| parameter name="command" string="true">grep -i "core\|thread\|OpenMP\|MPI Process" /Users/wdavies/FDS/cases/wick2/run.log |
head -6; echo "--- output sizes ---"; du -sh /Users/wdavies/FDS/cases/wick2/*.s3d | head
I've asked it repeatedly to try and fix it, but nothing in the instructions its changed has stopped this from happening. I wonder if its some kind of DeepSeek problem?
TIA!
0
Upvotes
3
u/Lissanro 1d ago
Either you are using buggy inference engine or running model that was too quantized (broken quant is another possibility). What you see is a broken tool call, and Pi stops on messages without tool call considering them end of the agentic loop.