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.
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-1unlessAWS_REGIONis set, or (after posit-dev/assistant#2180) the user hand-editsproviders.json.Proposed changes:
Open question:
Precedence between
AWS_REGION/profile env vars andproviders.jsonisn'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 throughproviders.json. If env vars win overproviders.json, that's a gap for admin enforcement.