mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-09-03 14:39:26 +08:00
- Added logic for caching and restoring Kimi "Thinking Replay" states to improve continuity across requests. - Implemented `kimiThinkingReplayScope`, content replay preparation, and conditional cache storage based on replay validity. - Introduced helper methods for replay content restoration, caching, and cleanup on errors. - Enhanced executor workflows to utilize the "Thinking Replay" cache for both immediate and streaming response handling. - Integrated periodic cleanup of expired and oversized replay cache entries. Closes: #4695
15 KiB
15 KiB