Skip to content

hang when ask questions to opencode with the newest version and local LLM by vllm(0.11.2) #10630

Closed

Description

@inv1s10n

Description

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.

Plugins

No response

OpenCode version

v1.1.36. build from source code

Steps to reproduce

follows are vllm startup script and opencode logs

Screenshot and/or share link

Image Image Image Image Image Image Image

Operating System

docker image: oven/bun:1-debian

Terminal

No response

Activity

  1. github-actions commented on Jan 26, 2026

    @github-actions
    Contributor

    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.

  2. github-actions commented on Mar 29, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions