diff options
| author | YurenHao0426 <blackhao0426@gmail.com> | 2026-02-13 03:02:36 +0000 |
|---|---|---|
| committer | YurenHao0426 <blackhao0426@gmail.com> | 2026-02-13 03:02:36 +0000 |
| commit | 7d897ad9bb5ee46839ec91992cbbf4593168f119 (patch) | |
| tree | b4549f64176e93474b3b6c4b36294d30a46230b7 /backend/requirements.txt | |
| parent | 2f19d8cb84598e0822b525f5fb5c456c07448fb7 (diff) | |
Add Claude provider, OpenRouter fallback, and GFM markdown support
- Add Claude (Anthropic) as third LLM provider with streaming support
- Add OpenRouter as transparent fallback when official API keys are missing or fail
- Add remark-gfm to ReactMarkdown for table/strikethrough rendering
- Claude models: sonnet-4.5, opus-4, opus-4.5, opus-4.6
- Backend: new stream_claude(), stream_openrouter(), provider routing, API key CRUD
- Frontend: model selectors, API key inputs for Claude and OpenRouter
- Auto-migration for new DB columns (claude_api_key, openrouter_api_key)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'backend/requirements.txt')
| -rw-r--r-- | backend/requirements.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/requirements.txt b/backend/requirements.txt index a9607fd..7260f95 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -3,6 +3,7 @@ uvicorn pydantic[email] openai google-generativeai +anthropic python-dotenv httpx python-multipart |
