Skip to content

Opencode hangs when communicating with venice #11056

Closed

Description

@joshleblanc

Description

I don't know what causes this, but creating a bunfig.toml file and placing it in ~/.config/opencode/bunfig.toml and ~/.cache/opencode/bunfig.toml with the content

[install.cache]
disable = true

resolves the issue. You need to re-add it to ~/.cache/opencode every time it updates.

Related:
oven-sh/bun#19936 (comment)
oven-sh/bun#25624 (comment)
oven-sh/bun#22846

Plugins

No response

OpenCode version

1.1.40

Steps to reproduce

  1. Select a venice model
  2. Ask it anything

It will hang on this screen forever. Here's the log

2026-01-28T231322.log

Screenshot and/or share link

Image

Operating System

Windows 11

Terminal

Windows Terminal

Activity

  1. github-actions commented on Jan 28, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Additionally, the root cause may be related to Bun cache issues on Windows (Bun #22846, #25624) which you've already referenced. The workaround of disabling the cache in bunfig.toml suggests this is a Bun/dependency issue rather than pure OpenCode logic.

    Feel free to ignore if none of these address your specific case.

  2. yashrajd commented on Jan 28, 2026

    @yashrajd

    the github bot mentions Windows, but the issue occurred for me on macOS using opencode Desktop and the suggested fix seems to've fixed it.

  3. victorhramos-dev commented on Feb 4, 2026

    @victorhramos-dev

    its happens often with z-ai and minimax coding plan also

  4. dpuyosa commented on Feb 21, 2026

    @dpuyosa
    Contributor

    This issue appears mostly when the provider npm package is updated and Bun tries to pull it from the repository. This may trigger the bug mentioned by the OP. Add the time of creating this issue I was updating the Venice npm package almost two times a day 🙏🏼

    I suggested a workaround here other than the bunfig: #10921

    But ultimately is something that Bun has to fix 🤦🏼‍♂️

  5. github-actions commented on Apr 23, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 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 workingwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions