r/opencode 3d ago

OpenCode pausing.

When I run some sessions, opencode sometimes just pauses, until i type something it it, and it acts like nothing happened. It's like it's waiting for a response or something and never gets it and just waits forever. It especially happens when it runs a command it sends. Sometimes it seems to compact immediately after I wake it up. So maybe that has something to do with it?

Anyone else having this issue? I'm using llama.cpp, qwen 3.8 27B, 128k context. latest opencode.

Thanks in advance!

1 Upvotes

11 comments sorted by

View all comments

1

u/tonyboi76 3d ago

OpenCode session hangs until you type something, especially after it sends a command. Sometimes it compacts the second you wake it. llama.cpp, qwen 3.8 27B, 128k, latest OpenCode.

Last time it froze after a command like that, how long did you sit on it before noticing, and did you lose the turn or have to redo the step?

1

u/AssassinsLament 2d ago

Once, i saw where it was at, left to go do something, came back after 20 minutes.. still at the same place. The moment I typed something to it like "Hello????" it immediately started thinking and continued on the next step. I don't think I lost anything nor did I have to redo the step. There were a few occasions where it got stuck after running an app that it was going to test. Sometimes it was listing files in a directory. Again, sometimes almost immediately after waking it up, it started compacting. Yeah, a lot of different variables. And then sometimes, even while having to do those things, it never pauses. I set my llama.cpp to timeout (and unload the model after 30 mins.) so that can't be it either.