### 整体摘要
本次更新主要涉及文档清理与新模型迁移指南的调整。重点在于移除旧模型(Opus 4.7)的迁移说明,强化新模型(Mythos 5/Fable 5)的数据保留要求和限制,同时引入了 Agent Memory 的 API 预览标志,并扩展了代码示例的语言支持。
### 关键主题
* **生命周期管理**:删除了关于 Claude Opus 4.7 的迁移章节,引导开发者直接迁移到 Opus 4.8 或 Fable 5,表明 Opus 4.7 已逐渐退出支持视野。
* **严格模型约束**:明确强调了 **Claude Mythos 5** 和 **Fable 5** 为“受控模型”,强制要求 30 天数据保留(不支持零数据保留 ZDR),且禁止手动配置扩展思考(`budget_tokens`)。
* **API 新特性预告**:在模型列表和文件上传 API 中新增了 `agent-memory-2026-07-22` Beta 标志,预示着即将推出的 Agent 记忆功能。
* **开发者体验 (DX) 提升**:将 `service_tiers` 相关代码示例从仅 Python 扩展至涵盖 cURL, TypeScript, Go, Java 等多语言支持。
### 影响程度:中等
**理由**:虽然大部分变更属于文档维护和链接修复,但关于 Mythos 5 和 Fable 5 的迁移指南更新包含重要的破坏性变更说明(数据保留策略和思考模式配置),这对正在使用或计划迁移到这些模型的开发者至关重要。新的 API 标志虽然目前仅为 Beta,但暗示了未来架构的变动。
### 开发者行动项
* **检查合规性**:若迁移至 **Claude Mythos 5** 或 **Fable 5**,请务必确认组织的数据保留策略已设置为 30 天(无法使用零数据保留)。
* **移除过时代码**:在升级到 Mythos 5 时,必须移除手动扩展思考配置(如 `thinking: { budget_tokens: N }`),改用默认的自适应思考,否则会收到 400 错误。
* **更新内部文档**:如果您的内部知识库或文档引用了已删除的 Opus 4.7 迁移步骤,需将其更新为指向 Opus 4.8 或最新的 Fable 5 指南。
* **关注 Beta 标志**:留意 API 响应中新增的 `agent-memory-2026-07-22` 标志,为未来可能的 Agent 长期记忆功能集成做好准备。
💭 Model Reasoning
1. **Analyze the Request:**
* **Role:** World-class programmer analyzing documentation changes.
* **Input:** A single batch of documentation changes (9 pages).
* **Output Format:** Markdown, concise, insightful, focus on what matters to developers, in Chinese.
* **Specific Sections:** Overall Summary, Key Themes, Impact Level, Action Items.
2. **Analyze the Changes (Page by Page):**
* **Page 1: `model-config.md`**
* *Change:* URL encoding change in a link (`there%E2%80%99s` -> `theres`).
* *Impact:* Trivial fix for broken or ugly links.
* **Page 2: `overview.md`**
* *Change:* Minor text tweaks ("environment" -> "surface", clarification text), added `glossary#surface` link.
* *Impact:* Terminology consistency, very low technical impact.
* **Page 3: `troubleshooting.md`**
* *Change:* URL encoding fix (similar to Page 1).
* *Impact:* Trivial.
* **Page 4: `about-claude/models/overview.md`**
* *Change:* Removed section "Migrating to Claude Opus 4.7" (suggesting Opus 4.7 is old news/irrelevant now), updated link for migrating from 4.6 to point to 4.8.
* *Impact:* deprecation/Lifecycle management update.
* **Page 5: `about-claude/models/migration-guide.md`**
* *Change:* Major structural update.
* Restructured sections (e.g., "Migrating *to* Claude Mythos 5").
* Clarified that Mythos 5 requires 30-day data retention (Covered Model).
* Clarified Adaptive Thinking vs. Extended Thinking on Mythos 5.
* Updated references to Opus 4.7 migration (removing specific steps for 4.7 if not directly relevant to current state, or consolidating).
* Moved "Migrating to Claude Fable 5" up or restructured.
* *Impact:* High for users moving to Mythos 5 or Fable 5 due to breaking changes (data retention, thinking modes).
* **Page 6: `api/models/list.md`**
* *Change:* Added `"agent-memory-2026-07-22"` to the enum list. Updated count from 25 to 26.
* *Impact:* Future feature flag (Agent Memory) added to the API beta flags.
* **Page 7: `api/beta/files/upload.md`**
* *Change:* Same as Page 6 (added `"agent-memory-2026-07-22"`).
* *Impact:* Consistent API flag addition.
* **Page 8: `api/service-tiers.md`**
* *Change:* Expanded the code snippet from Python-only to a multi-language CodeGroup (cURL, CLI, TS, C#, Go, Java, PHP, Ruby).
* *Impact:* Improved DX (Developer Experience) for non-Python users. No functional API change.
* **Page 9: `build-with-claude/prompt-engineering/claude-prompting-best-practices.md`**
* *Change:* Updated migration references. Changed "Claude 4.6" to "current Claude models", updated link text for Sonnet migration.
* *Impact:* Maintenance/Lifecycle update.
3. **Synthesize Themes:**
* **Lifecycle & Deprecation:** Opus 4.7 is being phased out of migration docs.
* **Model Constraints:** Mythos 5 and Fable 5 have specific data retention requirements and thinking modes (no manual extended thinking).
* **New Features:** "Agent Memory" (beta flag) appeared in the API schema.
* **Docs Hygiene:** URL encoding fixes, terminology updates ("surfaces").
* **DX Improvements:** Multi-language code examples.
4. **Draft Analysis (in Chinese):**
* *Overall Summary:* This batch focuses on cleaning up migration documentation for older models (Opus 4.7), enforcing strict data retention requirements for newer models (Mythos 5), introducing a new beta API flag for Agent Memory, and expanding code examples to multiple languages.
* *Key Themes:*
* **Migration Lifecycle Shift:** References to Claude Opus 4.7 are being removed/de-emphasized, steering users towards newer models.
* **Strict Model Constraints:** Emphasized that Claude Mythos 5 and Fable 5 are "Covered Models" requiring 30-day data retention and reject manual extended thinking configurations.
* **New API Flag:** Introduction of `"agent-memory-2026-07-22"`, suggesting an upcoming memory-related feature.
* **Docs DX:** Expansion of code snippets from Python-only to multi-language support.
* *Impact Level:* **Medium**.
* *Reasoning:* While most changes are documentation polish, the migration guide updates regarding data retention and specific "breaking" behaviors for Mythos 5 are critical for developers adopting those models. The new beta flag indicates upcoming API changes but is currently opt-in.
* *Action Items:*
* Review data retention settings if migrating to **Mythos 5** or **Fable 5** (requires 30-day retention).
* Remove manual `thinking` configuration (like `budget_tokens`) when using **Mythos 5** (use Adaptive Thinking instead).
* Update migration references if your documentation or codebase points to the now-removed Opus 4.7 sections.
* Monitor the `"agent-memory-2026-07-22"` beta flag for future capabilities.
5. **Refine Chinese Output:**
* *Summary:* 本次更新主要涉及文档清理与新模型迁移指南的调整。重点在于移除旧模型(Opus 4.7)的迁移说明,强化新模型(Mythos 5/Fable 5)的数据保留要求和限制,同时引入了 Agent Memory 的 API 预览标志,并扩展了代码示例的语言支持。
* *Themes:*
* **生命周期管理**: 删除 Opus 4.7 迁移相关内容,引导用户向 Opus 4.8 或 Fable 5 迁移。
* **模型约束**: 明确 Mythos 5 和 Fable 5 必须使用 30 天数据保留,且不支持手动扩展思考。
* **API 新特性**: 新增 `agent-memory-2026-07-22` Beta 标志。
* **开发体验**: 代码示例从 Python 扩展至多语言支持。
* *Impact:* Medium.
* *Action Items:*
* **检查配置**: 迁移至 Mythos 5/Fable 5 时,确保数据保留设置为 30 天(不可用 ZDR)。
* **移除参数**: 在 Mythos 5 中移除手动 `thinking` 参数(如 `budget_tokens`),改用自适应思考。
* **关注预览**: 留意新增的 `agent-memory-2026-07-22` Beta 标志,为未来的记忆功能做准备。
6. **Final Review:** Does this meet the "world-class programmer" persona? Yes, it's concise, highlights the "gotchas" (data retention, breaking params), and ignores trivial link encoding changes.
7. **Final Output Generation** (Markdown).