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
lsp bug: edit tool stalls after first diff; assistant hangs #6959
changed the title [-]edit tool stalls after first diff; assistant hangs[/-][+]lsp bug: edit tool stalls after first diff; assistant hangs[/+]on Jan 6, 2026
This is likely due to a network issue. OpenCode will attempt to download the corresponding LSP Server. In my case it's Java LSP(JDTLS), and after I provide it manually, everything works fine.
Activity
github-actions commentedon Jan 5, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
hariseldon78 commentedon Jan 6, 2026
hey dear bot, it's not slow, it's stuck!
hariseldon78 commentedon Jan 6, 2026
edit: i attached the relevant log section
[-]edit tool stalls after first diff; assistant hangs[/-][+]lsp bug: edit tool stalls after first diff; assistant hangs[/+]hariseldon78 commentedon Jan 6, 2026
edit: i verified that it's related to lsp function, after i disabled from config ("lsp": false) it was able to write to the file.
github-actions commentedon Mar 25, 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.
zxc503 commentedon Apr 8, 2026
same issue, works after disabling LSP.
KeroZhai commentedon Apr 8, 2026
This is likely due to a network issue. OpenCode will attempt to download the corresponding LSP Server. In my case it's Java LSP(JDTLS), and after I provide it manually, everything works fine.
urayoru113 commentedon May 23, 2026
In my case, OpenCode was installed via Nix into the
/nix/store/opencode/...directory, which is strictly read-only by design.This prevents the application from writing or modifying files within that path.