fix: show correct Bedrock runtime endpoint in /status#20275
Merged
Conversation
4357906 to
ddcefe6
Compare
pakrym-oai
reviewed
Apr 30, 2026
2fbf690 to
9e18d78
Compare
pakrym-oai
approved these changes
Apr 30, 2026
This was referenced Apr 30, 2026
9e18d78 to
b8faa69
Compare
b8faa69 to
eb6ced3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
/statuswas showing the configuredModelProviderInfo.base_urlfor Amazon Bedrock, which can be stale or misleading because the actual Bedrock Mantle endpoint is derived at runtime from the resolved AWS region. This made sessions report the wrong provider endpoint even though requests used the correct runtime URL.What changed
ModelProvider::runtime_base_url()so provider implementations can expose the request-time base URL through the shared runtime provider abstraction.amazon_bedrock::mantle::runtime_base_url(), keeping region resolution private to the Mantle module.runtime_base_url()for Amazon Bedrock so it returns the resolved Mantle endpoint instead of the configured default./status.base_urlwhen they differ.Verification
model provider is resolved correctly in local build:
