Nixpkgs version
nixpkgs-unstable @ 02f5696
Describe the bug
When running opencode and sending a prompt, I immediately get a server error message (pop up in the top right corner of the screen). My prompt is not processed. The exact message is as follows.
Failed to send prompt
Unexpected server error. Check server logs for details.
Restarting the server didn't fix the issue. Neither did removing the opencode cache. Removing plugins and providers/models from my opencode config didn't help either. The problems happens with every model I tried (Big Pickle and a self-hosted model).
I didn't find anything useful in the logs. I am not exactly sure what to look for, and I would be happy to provide additional info if someone can point me in the right direction.
I thought 2b7f86f was the problem, but it is not. My apologies @GaetanLepage 🙏
I bisected and the commit 0feb034 introduces the issue: opencode works well with the previous commit, but not from that commit onward. It makes sense as opencode depends on bun. cc @adamcstephens
Steps to reproduce
My home-manager config: https://github.com/marcv81/home-manager @ 1665f259483f7c0f857478dce5c2c52274104bf8.
Expected behaviour
opencode processes prompts without any error.
Screenshots
No response
Relevant log output
Additional context
No response
System metadata
- system:
"x86_64-linux"
- host os:
Linux 7.0.0-31-generic, Ubuntu, 26.04 (Resolute Raccoon), nobuild
- multi-user?:
yes
- sandbox:
yes
- version:
nix-env (Nix) 2.35.2
- channels(root):
"nixpkgs"
- nixpkgs:
/nix/store/1w9ks0pax95r7lvd9djf9gqxrw7jzgqp-nixpkgs/nixpkgs
Notify maintainers
opencode: @delafthi @DuskyElf @graham33 @superherointj
bun: @DAlperin @06kellyjac @thilobillerbeck @cdmistman @diogomdp
I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Nixpkgs version
nixpkgs-unstable @ 02f5696
Describe the bug
When running opencode and sending a prompt, I immediately get a server error message (pop up in the top right corner of the screen). My prompt is not processed. The exact message is as follows.
Restarting the server didn't fix the issue. Neither did removing the opencode cache. Removing plugins and providers/models from my opencode config didn't help either. The problems happens with every model I tried (Big Pickle and a self-hosted model).
I didn't find anything useful in the logs. I am not exactly sure what to look for, and I would be happy to provide additional info if someone can point me in the right direction.
I thought 2b7f86f was the problem, but it is not. My apologies @GaetanLepage 🙏
I bisected and the commit 0feb034 introduces the issue: opencode works well with the previous commit, but not from that commit onward. It makes sense as opencode depends on bun. cc @adamcstephens
Steps to reproduce
My home-manager config: https://github.com/marcv81/home-manager @
1665f259483f7c0f857478dce5c2c52274104bf8.Expected behaviour
opencode processes prompts without any error.
Screenshots
No response
Relevant log output
Additional context
No response
System metadata
"x86_64-linux"Linux 7.0.0-31-generic, Ubuntu, 26.04 (Resolute Raccoon), nobuildyesyesnix-env (Nix) 2.35.2"nixpkgs"/nix/store/1w9ks0pax95r7lvd9djf9gqxrw7jzgqp-nixpkgs/nixpkgsNotify maintainers
opencode: @delafthi @DuskyElf @graham33 @superherointj
bun: @DAlperin @06kellyjac @thilobillerbeck @cdmistman @diogomdp
I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.