Skip to content

fix: use the configured Bedrock region during route validation - #847

Merged
chrisknvidia merged 2 commits into
naren/public-plugin-workflowfrom
feat/christopherk/bedrock-region-plugin-workflow
Nov 22, 2026
Merged

chrisknvidia merged 2 commits into
naren/public-plugin-workflowfrom
feat/christopherk/bedrock-region-plugin-workflow

Conversation

@chrisknvidia

@chrisknvidia chrisknvidia commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Use the configured AWS region during every preliminary Bedrock provider lookup. LiteLLM already receives that region on the completion call. Passing it to the HTTPS guard preserves a valid Mantle Responses route when the environment contains a malformed fallback region.

This applies the fix from PR #845 to the scanned plugin workflow branch after PR #844. Main branch review

Verification

  • 485 focused provider configuration, transport, and Harbor preflight tests passed with the locked LiteLLM SDK.
  • A real TLS loopback request through the Mantle alias succeeded with a configured AWS region and a malformed fallback region. The existing HTTP regression case still rejects before connecting.
  • Independent security review, Ruff, and the lock consistency check passed.
  • Credentialed AWS verification requires a Bedrock test account.

On 4fad2e8c, repository lint and package builds passed. A fresh locked installation imported the built wheel, passed pip check, and passed all 66 provider transport tests with LiteLLM 1.110.2.

Signed-off-by: Christopher Kevin <[email protected]>
(cherry picked from commit 9187f2c)
@chrisknvidia
chrisknvidia marked this pull request as ready for review November 21, 2026 01:02

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

Devin Review

Comment thread src/skillevaluator/inference/client.py Resolved
@chrisknvidia
chrisknvidia merged commit 50551a9 into naren/public-plugin-workflow Nov 22, 2026
26 checks passed
@chrisknvidia
chrisknvidia deleted the feat/christopherk/bedrock-region-plugin-workflow branch November 22, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant