Skip to content

Commit 7cb72a9

Browse files
PedramNavidclaude
andauthored
docs(tool_use): add Opus 4.6 server-side compaction guidance to context compaction cookbook (anthropics#369)
Adds a callout recommending server-side compaction for Opus 4.6 users, clarifying that this cookbook covers SDK-based compaction for older models or alternative summarization model use cases. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ce4c093 commit 7cb72a9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tool_use/automatic-context-compaction.ipynb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@
4444
"- Anthropic SDK >= 0.74.1"
4545
]
4646
},
47+
{
48+
"cell_type": "markdown",
49+
"id": "6j8bv0fnlqm",
50+
"source": "> **Using Opus 4.6?** We recommend using [server-side compaction](https://docs.anthropic.com/en/docs/build-with-claude/compaction), which handles context management automatically without any SDK-level configuration.\n>\n> This cookbook covers **SDK-based compaction**, which is useful if you're using an older model or want to use a different (cheaper) model for summarization.",
51+
"metadata": {}
52+
},
4753
{
4854
"cell_type": "markdown",
4955
"id": "004e3b52",
@@ -1239,4 +1245,4 @@
12391245
},
12401246
"nbformat": 4,
12411247
"nbformat_minor": 5
1242-
}
1248+
}

0 commit comments

Comments
 (0)