feat: replace Anthropic direct API with AWS Bedrock

↗ view on GitHub · Guillaume Falardeau · 2026-05-04 · 69114a66

- Add @anthropic-ai/bedrock-sdk package
- New bedrock.ts provider adapter (mirrors claude.ts, uses AnthropicBedrock client)
- Bedrock model IDs: sonnet-4-6, haiku-4-5 (user-selectable), opus-4-6 (internal)
- Remove per-user claude_api_key; AWS creds are server-side env vars
- Update model defaults: main=bedrock-sonnet, tabular/title=bedrock-haiku
- Frontend: add Bedrock group to model picker, remove Anthropic API key UI
- DB migration 001: drop claude_api_key column, update tabular_model default
Repository falg23043/mike
Author Guillaume Falardeau <guillaumefalardeau@hotmail.com>
Authored
Parents d9690965
Stats 17 files changed , +1721 , -577
Part of Migration from per-user Anthropic API to AWS Bedrock

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-69114a66.md from inside the repo you want the change in.

⬇ Download capture-commit-69114a66.md