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-07-22 05:21:14 +08:00
2026-05-28 02:59:24 +08:00
2026-07-22 05:21:14 +08:00
2026-06-20 00:22:08 +08:00
2026-07-08 16:47:37 +08:00
2026-07-07 02:39:13 +08:00
2026-06-14 21:11:35 +08:00
2026-07-22 05:21:14 +08:00
2026-06-18 22:31:50 +08:00
2026-06-29 13:40:09 +08:00
2026-07-20 13:57:14 +08:00
2026-06-10 03:19:26 +08:00
2026-01-31 01:42:58 +08:00
2026-07-18 19:36:09 +08:00
2026-07-20 13:57:14 +08:00
2026-06-20 12:15:06 +08:00
2026-07-18 02:18:09 +08:00
2026-07-11 11:42:51 +08:00
2026-07-18 03:58:03 +08:00
2026-07-20 02:02:17 +08:00
2026-05-08 11:46:46 +08:00
2026-07-18 03:58:03 +08:00
2026-07-18 02:18:09 +08:00
2026-06-17 07:19:02 +08:00
2026-07-14 00:35:48 +08:00
2026-07-16 04:38:19 +08:00
2026-05-31 14:38:54 +08:00
2026-07-22 05:21:14 +08:00
2026-06-08 15:47:14 +00:00
2026-06-24 14:43:44 +08:00
2026-07-20 13:57:14 +08:00
2026-05-08 11:46:46 +08:00
2026-07-20 16:18:13 +08:00
2026-07-22 05:21:14 +08:00
2026-07-20 13:57:14 +08:00
2026-07-07 02:39:13 +08:00
2026-07-22 05:21:14 +08:00
2026-07-22 05:21:14 +08:00
2026-07-18 23:29:16 +08:00
2026-07-22 05:21:14 +08:00
2026-05-19 10:13:26 +08:00
2026-07-22 05:21:14 +08:00
2026-07-14 00:35:48 +08:00
2026-07-14 00:35:48 +08:00
2026-07-18 00:40:56 +08:00
2026-07-22 04:00:51 +08:00
2026-07-22 05:21:14 +08:00
2026-07-12 23:59:39 +08:00
2026-07-09 21:49:01 +05:30
2026-07-20 16:18:13 +08:00
2026-07-22 05:21:14 +08:00