Luis Pater
f3e36f19c0
feat(executor): add Claude input token state handling and token estimation logic
...
- 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.
2026-07-22 05:21:14 +08:00
..
2026-06-13 10:07:48 +08:00
2026-06-13 10:07:48 +08:00
2026-06-14 21:11:35 +08:00
2026-06-14 21:11:35 +08:00
2026-07-18 02:18:09 +08:00
2026-07-18 02:18:09 +08:00
2026-06-14 21:11:35 +08:00
2026-06-14 21:11:35 +08:00
2026-07-22 05:21:14 +08:00
2026-07-22 05:21:14 +08:00
2026-04-10 00:07:11 +08:00
2026-07-20 02:02:17 +08:00
2026-07-20 02:02:17 +08:00
2026-06-22 22:25:44 +08:00
2026-06-02 13:43:07 +08:00
2026-06-18 13:33:10 +08:00
2026-07-14 23:35:29 +08:00
2026-07-14 23:35:29 +08:00
2026-06-18 13:33:10 +08:00
2026-07-20 15:37:55 +08:00
2026-07-20 15:37:55 +08:00
2026-07-20 15:37:55 +08:00
2026-05-08 11:46:46 +08:00
2026-05-18 12:20:41 +08:00
2026-06-14 21:11:35 +08:00
2026-06-14 21:11:35 +08:00
2026-07-07 02:39:13 +08:00
2026-07-15 21:30:09 +08:00
2026-07-15 21:30:09 +08:00
2026-07-11 02:42:42 +08:00
2026-06-14 21:11:35 +08:00
2026-06-14 21:11:35 +08:00
2026-06-03 06:58:26 +08:00
2026-06-03 06:58:26 +08:00
2026-07-20 13:57:14 +08:00
2026-07-20 15:37:55 +08:00