revert: remove count_tokens endpoint (caused regression)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Badri Narayanan S
2026-01-14 23:43:16 +05:30
parent 522ddcde42
commit 896bf81a36
6 changed files with 38 additions and 982 deletions

View File

@@ -34,8 +34,7 @@
"test:crossmodel": "node tests/test-cross-model-thinking.cjs",
"test:oauth": "node tests/test-oauth-no-browser.cjs",
"test:emptyretry": "node tests/test-empty-response-retry.cjs",
"test:sanitizer": "node tests/test-schema-sanitizer.cjs",
"test:counttokens": "node tests/test-count-tokens.cjs"
"test:sanitizer": "node tests/test-schema-sanitizer.cjs"
},
"keywords": [
"claude",
@@ -58,8 +57,6 @@
"node": ">=18.0.0"
},
"dependencies": {
"@anthropic-ai/tokenizer": "^0.0.4",
"@lenml/tokenizer-gemini": "^3.7.2",
"async-mutex": "^0.5.0",
"better-sqlite3": "^12.5.0",
"cors": "^2.8.5",