ian_p
674698546d
feat: support DeepSeek prompt cache format and add cache hit rate segment
...
- Added prompt_cache_hit_tokens / prompt_cache_miss_tokens parsing in
parseChunkUsage for DeepSeek's prompt cache format where
prompt_tokens = hit_tokens + miss_tokens.
- DeepSeek formula: input = prompt_tokens - hit_tokens (= miss, billed input),
total = input + output + hit_tokens (avoid double-counting miss in cacheWrite).
- Added cache_hit status line segment showing cache hit rate:
rate = cacheRead / (cacheRead + cacheWrite) x 100%.
- Added cache_hit to all status line presets.
2026-05-30 06:12:18 +08:00
..
2026-05-17 13:15:07 +02:00
2026-05-27 15:01:59 +02:00
2026-05-14 04:38:14 +02:00
2026-05-28 00:51:35 +02:00
2026-05-28 00:35:15 +02:00
2026-05-27 15:01:59 +02:00
2026-05-30 06:12:18 +08:00
2026-05-26 01:54:09 -07:00
2026-05-26 11:21:02 +02:00
2026-05-26 22:05:41 +05:30
2026-05-28 03:06:52 +02:00
2026-05-26 16:49:11 +02:00
2026-05-16 19:26:32 +02:00
2026-05-26 20:44:09 +02:00
2026-05-14 05:33:30 +02:00
2026-05-27 12:34:27 +00:00
2026-05-22 13:23:06 +00:00
2026-05-15 14:46:54 +02:00
2026-05-21 06:44:58 +00:00
2026-05-27 18:46:03 +02:00
2026-05-26 21:52:16 +02:00
2026-05-26 20:30:02 +02:00
2026-05-09 09:48:10 +02:00
2026-05-03 10:27:06 +02:00
2026-05-30 06:12:18 +08:00
2026-05-19 04:06:04 +00:00
2026-05-28 01:00:23 +02:00
2026-05-10 21:46:01 +02:00
2026-04-08 08:47:32 +02:00
2026-05-28 01:00:23 +02:00
2026-05-26 20:22:25 +02:00
2026-05-16 00:20:00 +02:00
2026-04-08 05:28:22 +02:00
2026-05-27 00:21:33 +02:00
2026-05-26 15:27:05 +02:00
2026-05-28 03:06:52 +02:00
2026-05-21 15:52:55 +09:00
2026-05-28 01:00:23 +02:00
2026-05-26 21:52:16 +02:00
2026-04-24 00:15:17 +02:00
2026-05-26 13:16:59 +02:00
2026-05-27 05:46:35 +00:00
2026-05-16 20:12:26 +02:00
2026-05-27 04:03:49 +02:00
2026-05-27 15:14:46 +08:00
2026-04-10 22:07:02 +02:00
2026-05-28 02:56:54 +02:00
2026-05-14 04:38:14 +02:00
2026-03-06 12:35:01 +01:00
2026-05-10 07:59:53 +02:00