跳到正文
数字商店
原文
Lydia Hallie ✨· @lydiahallie · X·· 2026-10-15AI 评分52
AI 导读

Claude Code 新增空闲压缩(idle compaction)功能,会在提示词缓存(prompt cache)过期前约 1 小时自动压缩长时间处于空闲状态的会话。用户后续恢复对话时,系统只需重新处理生成的摘要而非完整对话历史,以此节省 token 用量。

正文 · 原文

We recently added idle compaction to Claude Code!

It now compacts long idle sessions right before the prompt cache expires (~1h). If you come back to it later, it only has to reprocess the summary instead of the entire conversation, which saves you some usage. https://t.co/SG3QyTNFwr

来源:Lydia Hallie ✨ · x.com