opencode forces using Amazon Bedrock when AWS_PROFILE env var is set #170

Closed
opened 2026-02-16 17:25:32 -05:00 by yindo · 2 comments
Owner

Originally created by @jahands on GitHub (Jun 20, 2025).

Originally assigned to: @thdxr on GitHub.

Was very confused why the docs said this can work with Claude Pro/Max subscription because it would only ever use Amazon Bedrock. Had to find out by trial and error that I need to unset AWS_PROFILE in order for it to show the provider configuration screen.

This behavior seems weird to me - why would AWS users always want to use Amazon Bedrock?

Originally created by @jahands on GitHub (Jun 20, 2025). Originally assigned to: @thdxr on GitHub. Was very confused why the docs said this can work with Claude Pro/Max subscription because it would only ever use Amazon Bedrock. Had to find out by trial and error that I need to unset AWS_PROFILE in order for it to show the provider configuration screen. This behavior seems weird to me - why would AWS users always want to use Amazon Bedrock?
yindo closed this issue 2026-02-16 17:25:32 -05:00
Author
Owner

@thdxr commented on GitHub (Jun 20, 2025):

when you had it set and you opened the model selector were you able to press left/right to see the other providers that loaded?

@thdxr commented on GitHub (Jun 20, 2025): when you had it set and you opened the model selector were you able to press left/right to see the other providers that loaded?
Author
Owner

@jahands commented on GitHub (Jun 20, 2025):

No - I think because I had no other providers configured.

I see now that you have to run “open opencode login” to add more providers. When I tried this morning I expected that everything could be done interactively just by running “opencode” - didn’t think to check for sub-commands.

So I suppose this is user error

@jahands commented on GitHub (Jun 20, 2025): No - I think because I had no other providers configured. I see now that you have to run “open opencode login” to add more providers. When I tried this morning I expected that everything could be done interactively just by running “opencode” - didn’t think to check for sub-commands. So I suppose this is user error
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#170