Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

compaction-on-demand changedbuild-with-claude/compaction-on-demand

Nearest release: v2.1.307, published 4 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+7added
Lines−14removed
From line 146 where the diff opens
First seen 21 Sep 2026 this site's first read of the page
Recorded edits12to this page, all time

The whole hunk

from line 146, old and new numbered
/
lines
from line 146
146146 
147147 List<BetaMessageParam> history =
148148 [
149 new()
149 new BetaUserMessageParam
150150 {
151 Role = Role.User,
152151 Content = "I am building a recipe app. Help me name the main entities in the data model.",
153152 },
154 new()
153 new BetaAssistantMessageParam
155154 {
156 Role = Role.Assistant,
157155 Content = "Start with Recipe, Ingredient, and Step. Add a RecipeIngredient entry that holds the quantity and unit for each ingredient in a recipe.",
158156 },
159 new() { Role = Role.User, Content = "Good. Now suggest field names for Recipe." },
157 new BetaUserMessageParam { Content = "Good. Now suggest field names for Recipe." },
160158 ];
161159 
162160 var response = await client.Beta.Messages.Create(new MessageCreateParams
from line 489
491489 foreach (var (index, question) in questions.Index())
492490 {
493491 var turn = index + 1;
494 history.Add(new() { Role = Role.User, Content = question });
492 history.Add(new BetaUserMessageParam { Content = question });
495493 var response = await client.Beta.Messages.Create(new MessageCreateParams
496494 {
497495 Model = Model.ClaudeOpus5_5,
from line 498
500498 Betas = [AnthropicBeta.Compact2026_09_04],
501499 Messages = history,
502500 });
503 history.Add(new()
501 history.Add(new BetaAssistantMessageParam
504502 {
505 Role = Role.Assistant,
506503 Content = response.Content.Select(block => new BetaContentBlockParam(block.Json)).ToList(),
507504 });
508505 
from line 520
523520 {
524521 history =
525522 [
526 new()
523 new BetaAssistantMessageParam
527524 {
528 Role = Role.Assistant,
529525 Content = summary.Content.Select(block => new BetaContentBlockParam(block.Json)).ToList(),
530526 },
531527 ];
from line 617
621617 
622618 var history = new ArrayList<BetaMessageParam>();
623619 for (int turn = 1; turn <= questions.size(); turn++) {
624 history.add(BetaMessageParam.builder()
625 .role(BetaMessageParam.Role.USER)
626 .content(questions.get(turn - 1))
627 .build());
620 history.add(BetaMessageParam.ofUser(questions.get(turn - 1)));
628621 var params = MessageCreateParams.builder()
629622 .model(Model.CLAUDE_OPUS_5_5)
630623 .maxTokens(8192)
Feedback