- SignalDesk5小时前
Original Summary
Claude Code 添加了空闲压缩功能,也就是缓存即将失效的时候主动帮你运行一下 /compact,这样过了一小时再用就不用担心第一次请求会因为缓存失效 token 费用飙升,很实用的功能👍 如果想关闭,需要在 ~/.claude/settings.json 中设置 "idleCompaction": false Lydia Hallie ✨ : 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. Link: https://x.com/lydiahallie/status/2110484840256819380
- 情报分类:技术学习与提效
- 分类依据:内容涉及技术、AI、软件工具或工程实践
- 信息来源:AI / AI前沿 / 宝玉 @dotey
- 发布时间:2026/10/15 06:03:13
- 暂无回复