You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Opencode with litellm just stops before finishing the task. #3365
What happens is, the agent just gives up in the middle of a task.
If I have subagents, they get started, but they stop, and the primary agent just waits forever.
Anyone knows if I am missing a config or if there is a way to see logs so I can know what's up?
@sylvain-billie as far as I can tell and I watched your whole recording, this is just the model stopping, it isn't opencodes fault (nor is your config bad) it is just the model stopping, it looped a decent amount but there are more capable models than gemini 2.5 pro, even the "dumber" models like kimi k2 are much more capable agentically (can loop longer)
But then again, even good models like gpt-5-codex will do this "stop" occasionally.
But then how can you handle sub-agents? Since they stop, I can't ask them to continue. Any request to them goes back to the primary. And the primary says it's waiting for the sub to finish.
we need a better ux for subagents but it is hard to tell what could br causing that for you, the primary agent is aware of whatever the last thing a subagent says
Activity
github-actions commentedon Oct 22, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
rekram1-node commentedon Oct 22, 2025
@sylvain-billie as far as I can tell and I watched your whole recording, this is just the model stopping, it isn't opencodes fault (nor is your config bad) it is just the model stopping, it looped a decent amount but there are more capable models than gemini 2.5 pro, even the "dumber" models like kimi k2 are much more capable agentically (can loop longer)
But then again, even good models like gpt-5-codex will do this "stop" occasionally.
sylvain-billie commentedon Oct 23, 2025
@rekram1-node I see, thanks for checking.
But then how can you handle sub-agents? Since they stop, I can't ask them to continue. Any request to them goes back to the primary. And the primary says it's waiting for the sub to finish.
rekram1-node commentedon Oct 23, 2025
we need a better ux for subagents but it is hard to tell what could br causing that for you, the primary agent is aware of whatever the last thing a subagent says
sylvain-billie commentedon Oct 23, 2025
alright, thanks for taking the time. I'll close this issue.