feat(llm): add Amazon Bedrock as a first-class provider

Bedrock uses the Converse API (langchain-aws) and the AWS credential chain, so
it has its own client like Anthropic/Google rather than the OpenAI-compatible
registry. langchain-aws is an optional dependency (pip install ".[bedrock]"),
lazy-imported with a clear install hint; importing the package never requires
it. The model name is a Bedrock model ID / inference profile ID.
This commit is contained in:
Yijia-Xiao committed 2026-06-14 04:24:54 +00:00
1 parent 295e84cd54
commit 895ed130f9
10 files changed
+139 -2

No files matched your search

@@ -193,6 +193,8 @@ MODEL_OPTIONS: ProviderModeOptions = {
"kimi": _CUSTOM_ONLY,
"groq": _CUSTOM_ONLY,
"nvidia": _CUSTOM_ONLY,
# Bedrock model IDs / cross-region inference profile IDs are user-specified.
"bedrock": _CUSTOM_ONLY,
}