Something went wrong. Try again.
sloproxy
Something went wrong. Try again.
feat(executor): add Claude input token state handling and token estimation logic master
- Introduced `ClaudeInputTokenState` to track and estimate input token usage for Claude message_start events. - Added `TranslateStreamWithClaudeInputTokens` for token-aware stream translation. - Updated executors (XAI, Kimi, Gemini) to leverage the new logic. - Included robust test cases for token counting, JSON validation, and concurrent tokenization scenarios.
Author Luis Pater Date (Jul 21, 2026, 9:21 PM UTC) Commit f3e36f19 f3e36f19c0882a76a46a565133a5c181f840ea4e Parent cb110ad4 cb110ad4fa860844d207331f000d065992a335b2