-
Notifications
You must be signed in to change notification settings - Fork 70
Utilizing opencode in WSL2 returns 'Error: agent coder not found' #62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Might be that the message is misleading, can you make sure that you have the aws env variables setup? I am wondering if it is not able to set the provider config, also for bedrock you need to add a config override, can you share that? |
same issue - I've set my keys for openai & anthropic |
Thanks for the quick feedback! It was very helpful to quickly troubleshoot. We utilize the AWS CLI SSO behavior since we utilize IAM Identity Center to manage credentials, we never set the That being said - I was curious why it was working on different equipment for me... I didn't have Setting this variable doesn't cause issue with the I believe this is good to close -- minor rough edge with the misleading error message. I've never written go code before but I'm happy to take a look and submit a PR to provide a better error message if it would help. |
When installing and utilizing opencode in an Ubuntu 24.04.2 LTS WSL 2 installation, running opencode in a bash terminal returns
Error: agent coder not found
Attempting to debug with the debug flag returns the same error.
I attempted installation from both the
README.md
directions utilizingcurl
and installing the .deb file manually. Both installation methods return the same result.We intend to utilize the tool via AWS Bedrock.
The text was updated successfully, but these errors were encountered: