[codex] Add Amazon Bedrock LLM provider support#538
Open
littlebullGit wants to merge 1 commit into
Open
Conversation
OpenMAIC can now route text generation to Amazon Bedrock using the Vercel AI SDK Bedrock provider. The change adds provider registry metadata, server env/YAML activation, model resolution, localized provider labels, docs, dependency lock updates, and focused provider-config tests. The scope is intentionally text LLM support. Bedrock speech and AWS Polly TTS should remain separate follow-up work because they use a different audio provider path and would widen the upstream review surface. Constraint: First upstream contribution targets Bedrock text generation for Claude Opus/Sonnet access Rejected: Implement Polly or Nova Sonic TTS in this PR | audio generation is a separate OpenMAIC provider abstraction Confidence: high Scope-risk: moderate Directive: Keep Bedrock media and TTS integrations separate unless the provider abstractions are redesigned Tested: pnpm check; pnpm test tests/ai/bedrock-provider.test.ts tests/server/provider-config.test.ts; live Bedrock smoke with us.anthropic.claude-opus-4-7 returned bedrock-ok Tested: previously ran pnpm test, pnpm build, npx tsc --noEmit, pnpm run check:i18n-keys, and pnpm test:e2e Not-tested: Upstream GitHub Actions before PR creation
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Scope
This is intentionally limited to text generation. Bedrock speech/Nova Sonic and AWS Polly TTS are separate audio-provider work and are not included here.
Closes #536
Validation
pnpm checkpnpm test tests/ai/bedrock-provider.test.ts tests/server/provider-config.test.tsus.anthropic.claude-opus-4-7returnedbedrock-okpnpm test,pnpm build,npx tsc --noEmit,pnpm run check:i18n-keys, andpnpm test:e2e