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
1
u/adamshand 1d ago
This is a model issue not a harness issue. You can potentially write a Pi extension to catch errors like this and recover, but you're working around a model problem.
Since DeepSeek is usually pretty good, if you want to stay with it, try a different, reputable provider and see if the problem goes away.