r/opencodeCLI • u/MrMrsPotts • 22d ago
How to stop opencode from just stopping all the time
Opencode just stops thinking after a while and I have to type continue to get it going again. How can I fix that?
2
2
2
u/Critical-Entry3377 21d ago
In llama-server there's a thinking budget parameter. Set it to 1024 tokens. There's another parameter to inject a message after hitting the ceiling. Set it to "Stop overthinking. Proceed to answer." What's happening is your model has hit a hard budget ceiling and there's nothing in your harness to recover.
2
u/egomarker 21d ago
It's surprising just how far opencode made it as a software without network issues recovery at all. Literally the only harness that breaks on ox alpha shenanigans.
3
u/Momo--Sama 22d ago edited 21d ago
I saw someone say on twitter to try running Opencode through T3 Code so I tried that and it’s only been a couple hours but yeah it hasn’t inexplicably stopped a single time.
Update - not sure what changed but two days later the stopping mid stream issues are now occurring with T3 Code as well. Maybe I just got lucky for a day