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
hang when ask questions to opencode with the newest version and local LLM by vllm(0.11.2) #10630
I tried use opencode with a local LLM server with openai API by vllm(0.11.2), but when I ask questions, opencode has no response.
When i firstly ask "hello", it works. When i ask "hello" the second, it has no response, but the vllm works and gpu has utilization.
The root cause appears to be improper handling of empty tool_calls: [] arrays in responses from local LLM servers. This causes OpenCode to wait indefinitely for tool execution that never occurs.
Feel free to ignore if your specific case differs from these issues.
Activity
github-actions commentedon Jan 26, 2026
This issue might be a duplicate of existing issues. Please check:
The root cause appears to be improper handling of empty
tool_calls: []arrays in responses from local LLM servers. This causes OpenCode to wait indefinitely for tool execution that never occurs.Feel free to ignore if your specific case differs from these issues.
github-actions commentedon Mar 29, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.