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
@segoon See #3498
Note that this PR is about a timeout for a single opencode model request (calls to the underlying LLM). An execution of opencode run can produce dozens of LLM calls.
If you need to timeout the entire opencode run loop after X seconds, you should do that externally using whatever system you're using. If called from bash, there are multiple ways to timeout any script. If called from a python or JS code, use the builtin timeout features (option timeout for child_process::spawn for example).
It should not be the responsibility of opencode to ensure a maximum duration is respected for the entire loop, since it can be monitored from outside tools.
The --timeout PR seems to have been closed due to some automated processes making it non-viable to leave long-running PRs open. Any chance this will get looked at again soon?
Activity
rekram1-node commentedon Oct 30, 2025
someone has a pr that will address this soon
AurelienRibon commentedon Oct 31, 2025
@segoon See #3498
Note that this PR is about a timeout for a single opencode model request (calls to the underlying LLM). An execution of
opencode runcan produce dozens of LLM calls.If you need to timeout the entire
opencode runloop after X seconds, you should do that externally using whatever system you're using. If called from bash, there are multiple ways to timeout any script. If called from a python or JS code, use the builtin timeout features (optiontimeoutforchild_process::spawnfor example).It should not be the responsibility of opencode to ensure a maximum duration is respected for the entire loop, since it can be monitored from outside tools.
paulgear commentedon Jan 30, 2026
The --timeout PR seems to have been closed due to some automated processes making it non-viable to leave long-running PRs open. Any chance this will get looked at again soon?
peter-mw commentedon Mar 8, 2026
Any news on this ?
github-actions commentedon Jul 3, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.