Commit e68f683
Fix: Improve Anthropic / Claude API support (#62)
* Fix: Improve Anthropic / Claude API support
- Add tool call collection in non-streaming Anthropic messages
- Implement system prompt normalization ([System]: prefix)
- Fix token counting to use resolved model instance
- Add Claude model name fuzzy matching (date suffix stripping, separator normalization)
- Implement /v1/messages/count_tokens endpoint for token pre-counting
- Add GET / and HEAD / root endpoint handlers for health probes
- Add image placeholder handling for tool_result blocks
* Improve dashboard performance and gateway lifecycle
* Fix request IP tracking leak and add regression validation
---------
Co-authored-by: lxh721 <152139706+lxh721@users.noreply.github.com>1 parent cdbe781 commit e68f683
15 files changed
Lines changed: 3680 additions & 686 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments