Skip to content

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

Closed

Description

@jahands

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?

Activity

  1. thdxr commented on Jun 20, 2025

    @thdxr
    Member

    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?

  2. self-assigned this
    on Jun 20, 2025
  3. jahands commented on Jun 20, 2025

    @jahands
    ContributorAuthor

    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

  4. added a commit that references this issue on Jan 4, 2026
    0a7a00e
  5. added a commit that references this issue on Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions