Skip to content

feat(providers): add Amazon Bedrock OpenAI-compatible template - #208

Merged
Zongwei9888 merged 1 commit into
HKUDS:mainfrom
lihuiyang1024:feat/bedrock-openai-compatible
Sep 15, 2026
Merged

Zongwei9888 merged 1 commit into
HKUDS:mainfrom
lihuiyang1024:feat/bedrock-openai-compatible

Conversation

@lihuiyang1024

Copy link
Copy Markdown
Contributor

Summary

  • register Amazon Bedrock as a region-scoped OpenAI-compatible provider template
  • use the AWS_BEARER_TOKEN_BEDROCK convention and require a user-supplied /openai/v1 URL
  • discover the live /models catalog and provide exact offline Claude Sonnet 4.6 inference IDs
  • document configuration plus the intentionally excluded SigV4, IAM, SSO, and Converse scope

Verification

  • 22 Bedrock and adjacent provider tests passed
  • 35 connection configuration and CLI tests passed
  • Ruff lint and formatting checks passed

Closes #101

@Zongwei9888
Zongwei9888 merged commit 56c5ba3 into HKUDS:main Sep 15, 2026
14 checks passed
@Zongwei9888

Copy link
Copy Markdown
Contributor

Merged into main as 56c5ba3. Thank you @lihuiyang1024 — a region-scoped template with requires_api_base=True, the exact Bedrock inference IDs in the offline catalog and an honest scope note (bearer token only, no SigV4/IAM/SSO/Converse) is exactly the shape we want for a first integration. All 7 new tests pass on main.

The only repair was a docs conflict: docs/guide/models.md changed on main after your branch was cut, so I re-placed the "Amazon Bedrock" section after the connection-test examples and before "Declared models and capacities". Content is unchanged.

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.

[Feature Request]: Add AWS Bedrock support

2 participants