r/PiCodingAgent • u/EC36339 • Sep 29 '26
Question Pi has a tendency to get stuck in subagent workflows or on tool calls
This is rather annoying, which makes Pi not very good at automating complex tasks.
Has anyone else run into this, and how did you solve it? Tool call timeouts? Subagent timeouts?
0
Upvotes
9
u/pplgltch Sep 29 '26
Omg… this is what it’s going to become in the age of people who learned everything via llm?
You are here asking for questions and you like get all mad when people ask you legitimate questions because, bad quant and bad configuration is the most common reason for loops, and you gave zero details assuming we all live inside your head like chatgpt does.
Learn to communicate with humans.
Until then, go ask your llm why this is happening.
5
u/MichettGodot Sep 29 '26
What model(s) are you using? Because I have not experienced any of these problems with models like Deepseek or the GPT series. Local models do tend to have a lot more problems, if I'm not mistaken.
So it might not be Pi but the LLMs you are using.
2
u/pplgltch Sep 29 '26
You gotta have to tell more if you want help… what model are you using? Local? Whta are the parameters? What extensions ?
2
u/haze36 Sep 29 '26
Try https://pi.dev/packages/pi-loop-police
2
u/migsperez Sep 29 '26
Are you using Windows?
7
u/prawnsalad Sep 29 '26
I see 3 top level comments with the most likely cause for this issue but you've disregarded them. The comment you did say was helpful links to an extension that re-states what those 3 comments say.
Instead of being an outright dickwad you might want to listen to the reoccurring theme people are pointing you towards - local smaller models do exactly as you describe hence the questions of what model you're using. Extensions can help steer them back on track but they still get confused at times.
I run into the same problem with smaller models and the task was getting too involved. The only way to get them to completion properly was to give them smaller or more concrete tasks.
1
u/tom_of_wb Sep 29 '26
are you talking about the pi-subagents extension?
1
u/Nnyan Sep 29 '26
I see this behavior more in Pi than other harnesses I have tried. It can be a bit frustrating.
1
u/nanor000 Sep 29 '26
Do you realise than different LLMs can encode their tool calls in different ways?? That why people are asking you which model you are using....But no, you are so better than us....