JiaDe WU
0cb8c51fa5
feat: native AWS Bedrock provider via Converse API
Salvaged from PR #7920 by JiaDe-Wu — cherry-picked Bedrock-specific
additions onto current main, skipping stale-branch reverts (293 commits
behind).
Dual-path architecture:
- Claude models → AnthropicBedrock SDK (prompt caching, thinking budgets)
- Non-Claude models → Converse API via boto3 (Nova, DeepSeek, Llama, Mistral)
Includes:
- Core adapter (agent/bedrock_adapter.py, 1098 lines)
- Full provider registration (auth, models, providers, config, runtime, main)
- IAM credential chain + Bedrock API Key auth modes
- Dynamic model discovery via ListFoundationModels + ListInferenceProfiles
- Streaming with delta callbacks, error classification, guardrails
- hermes doctor + hermes auth integration
- /usage pricing for 7 Bedrock models
- 130 automated tests (79 unit + 28 integration + follow-up fixes)
- Documentation (website/docs/guides/aws-bedrock.md)
- boto3 optional dependency (pip install hermes-agent[bedrock])
Co-authored-by: JiaDe WU <40445668+JiaDe-Wu@users.noreply.github.com>
2026-04-15 16:17:17 -07:00
..
2026-02-26 13:54:20 +03:00
2026-04-11 00:43:01 -07:00
2026-04-14 01:43:45 -07:00
2026-04-13 04:59:26 -07:00
2026-04-13 05:02:54 -07:00
2026-04-15 16:17:17 -07:00
2026-04-15 16:17:17 -07:00
2026-04-14 01:43:45 -07:00
2026-04-12 01:34:52 -07:00
2026-04-10 19:15:50 -07:00
2026-04-10 13:05:01 -07:00
2026-04-07 17:19:07 -07:00
2026-04-15 15:04:14 -07:00
2026-04-07 17:19:07 -07:00
2026-03-15 20:21:21 -07:00
2026-04-07 17:19:07 -07:00
2026-04-13 18:46:14 -07:00
2026-03-29 00:33:30 -07:00
2026-04-10 03:44:43 -07:00
2026-04-11 14:46:18 -07:00
2026-04-15 14:25:40 -07:00
2026-04-14 01:43:45 -07:00
2026-04-07 22:23:28 -07:00
2026-04-12 21:22:59 -07:00
2026-04-13 04:24:07 -07:00
2026-04-11 16:33:40 -07:00
2026-04-12 01:44:18 -07:00
2026-04-12 02:26:28 -07:00
2026-03-21 16:54:43 -07:00
2026-04-15 16:10:53 -07:00
2026-04-09 03:43:14 -07:00
2026-04-15 16:08:52 -07:00
2026-04-06 11:27:28 -07:00
2026-03-16 12:36:29 -07:00
2026-04-05 12:05:13 -07:00
2026-04-09 03:10:30 -07:00
2026-03-17 04:14:40 -07:00
2026-03-18 03:04:07 -07:00