Skip to content

Auth dialog needs region/profile inputs for AWS Bedrock, and should show when env vars override UI settings #15697

Description

@sharon-wang

Currently the auth dialog UI has no way to set the AWS region or profile used for Bedrock. PA falls back to the default us-east-1 unless AWS_REGION is set, or (after posit-dev/assistant#2180) the user hand-edits providers.json.

Proposed changes:

  • Add a region input and a profile input to the auth dialog modal for Bedrock.
  • When env vars are overriding a setting entered in the UI, show that in the UI. Right now there's no indication anywhere that env vars are winning over what the user configured.

Open question:
Precedence between AWS_REGION/profile env vars and providers.json isn't confirmed. Env vars are believed to take precedence today, but this needs to be pinned down, especially since admins enforcing a region/profile for Assistant would likely do it through providers.json. If env vars win over providers.json, that's a gap for admin enforcement.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions