返回全部动态
Claude Code 2.1.108 发布:新增提示缓存与回顾功能
原标题:2.1.108
AI 摘要
Claude Code 2.1.108 版本发布,新增了可选的 1 小时提示缓存 TTL 环境变量、会话回顾功能,并允许模型通过 Skill 工具调用内置斜杠命令。此外,该版本改进了模型切换警告、恢复会话选择器、错误提示,并修复了多项与缓存、遥测、Bash 工具、会话恢复等相关的缺陷。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
- Added `ENABLE_PROMPT_CACHING_1H` env var to opt into 1-hour prompt cache TTL on API key, Bedrock, Vertex, and Foundry (`ENABLE_PROMPT_CACHING_1H_BEDROCK` is deprecated but still honored), and `FORCE_PROMPT_CACHING_5M` to force 5-minute TTL - Added recap feature to provide context when returning to a session, configurable in `/config` and manually invocable with `/recap`; force with `CLAUDE_CODE_ENABLE_AWAY_SUMMARY` if telemetry disabled. - The model can now discover and invoke built-in slash c
发布时间:—
抓取时间:2026-09-07 03:46
来源机构:Anthropic