Skip to content

Commit e68f683

Browse files
gallexy-liulxh721
andauthored
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

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
node_modules
22
.tsbuildinfo
33
dist/
4+
perf-results/
5+
.vscode-test/
6+
.claude/
7+
out/
8+
*.vsix
9+
*.cpuprofile
10+
bun.lock

0 commit comments

Comments
 (0)