You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
providers: substitute {region} placeholder in YAML profile endpoints #1802
Follow-up to #1704. The aws-bedrock.yaml profile
hardcodes bedrock-runtime.us-east-1.amazonaws.com as the default
endpoint; operators in other regions must override the entire base
URL via BEDROCK_BASE_URL to flip a single segment. This generalizes
to any region-aware provider.
Proposal
Allow YAML profile endpoints[].host to contain a {region}
placeholder, substituted at provider-creation time from the
provider's resolved AWS_REGION credential (or, more generically, a
profile-declared region credential name).
…and in the YAML loader (openshell-providers/src/profiles.rs or
its successor): when host contains {region}, look up the
provider's AWS_REGION credential value and substitute. If absent,
fall back to a profile-declared default (e.g. {region:us-east-1}-style syntax) or fail with a clear invalid_argument Status.
Activity
matthewgrossman commentedon Jul 29, 2026