mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-09-06 16:15:50 +08:00
- Added `CountClaudeInputTokens` for estimating token usage with O200kBase tokenizer. - Enhanced `ClaudeExecutor` to handle token counting locally, reducing dependency on upstream services. - Introduced validation for token count requests for improved error handling. - Updated tests to cover local token counting behavior and invalid request handling. Closes: #4103
26 KiB
26 KiB