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

Request 2 caches its request content (not the response) changedbuild-with-claude/prompt-caching

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+40added
Lines−61removed
From line 100 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits26to this page, all time

The whole hunk

from line 100, old and new numbered
/
lines
from line 100
100100 System = "You are an AI assistant tasked with analyzing literary works. Your goal is to provide insightful commentary on themes, characters, and writing style.",
101101 Messages =
102102 [
103 new()
104 {
105 Role = Role.User,
106 Content = "Analyze the major themes in 'Pride and Prejudice'."
107 }
103 new UserMessageParam { Content = "Analyze the major themes in 'Pride and Prejudice'." }
108104 ]
109105 };
110106 
from line 366
370366 System = "You are a helpful assistant that remembers our conversation.",
371367 Messages =
372368 [
373 new()
369 new UserMessageParam { Content = "My name is Alex. I work on machine learning." },
370 new AssistantMessageParam
374371 {
375 Role = Role.User,
376 Content = "My name is Alex. I work on machine learning."
377 },
378 new()
379 {
380 Role = Role.Assistant,
381372 Content = "Nice to meet you, Alex! How can I help with your ML work today?"
382373 },
383 new()
384 {
385 Role = Role.User,
386 Content = "What did I say I work on?"
387 }
374 new UserMessageParam { Content = "What did I say I work on?" }
388375 ]
389376 };
390377 
from line 991
1004991 },
1005992 ]
1006993 ),
1007 Messages = [new() { Role = Role.User, Content = "warmup" }],
994 Messages = [new UserMessageParam { Content = "warmup" }],
1008995 }
1009996 );
1010997 
from line 1304
13171304 Model = Model.ClaudeOpus5_5,
13181305 MaxTokens = 0,
13191306 System = new(systemPrompt),
1320 Messages = [new() { Role = Role.User, Content = "warmup" }],
1307 Messages = [new UserMessageParam { Content = "warmup" }],
13211308 }
13221309 );
13231310 
from line 1316
13291316 Model = Model.ClaudeOpus5_5,
13301317 MaxTokens = 1024,
13311318 System = new(systemPrompt),
1332 Messages = [new() { Role = Role.User, Content = userMessage }],
1319 Messages = [new UserMessageParam { Content = userMessage }],
13331320 }
13341321 );
13351322 
from line 1662
16751662 }),
16761663 Messages =
16771664 [
1678 new()
1665 new UserMessageParam
16791666 {
1680 Role = Role.User,
16811667 Content = "What are the key terms and conditions in this agreement?"
16821668 }
16831669 ]
from line 2031
20452031 }),
20462032 Messages =
20472033 [
2048 new()
2034 new UserMessageParam
20492035 {
2050 Role = Role.User,
2051 Content = new MessageParamContent(new List<ContentBlockParam>
2036 Content = new List<ContentBlockParam>
20522037 {
20532038 new ContentBlockParam(new TextBlockParam("Hello, can you tell me more about the solar system?")),
2054 }),
2039 },
20552040 },
2056 new()
2041 new AssistantMessageParam
20572042 {
2058 Role = Role.Assistant,
20592043 Content = "Certainly! The solar system is the collection of celestial bodies that orbit our Sun. It consists of eight planets, numerous moons, asteroids, comets, and other objects. The planets, in order from closest to farthest from the Sun, are: Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, and Neptune. Each planet has its own unique characteristics and features. Is there a specific aspect of the solar system you would like to know more about?"
20602044 },
2061 new()
2045 new UserMessageParam
20622046 {
2063 Role = Role.User,
2064 Content = new MessageParamContent(new List<ContentBlockParam>
2047 Content = new List<ContentBlockParam>
20652048 {
20662049 new ContentBlockParam(new TextBlockParam("Good to know.")),
20672050 new ContentBlockParam(new TextBlockParam()
from line 2052
20692052 Text = "Tell me more about Mars.",
20702053 CacheControl = new CacheControlEphemeral(),
20712054 }),
2072 })
2055 }
20732056 }
20742057 ]
20752058 };
from line 2120
21372120 "Certainly! The solar system is the collection of celestial bodies that orbit our Sun. It consists of eight planets, numerous moons, asteroids, comets, and other objects. The planets, in order from closest to farthest from the Sun, are: Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, and Neptune. Each planet has its own unique characteristics and features. Is there a specific aspect of the solar system you would like to know more about?"
21382121 )
21392122 // Second user message (with cache control)
2140 .addUserMessageOfBlockParams(
2123 .addUserMessageOfContentBlockParams(
21412124 List.of(
21422125 ContentBlockParam.ofText(TextBlockParam.builder().text("Good to know.").build()),
21432126 ContentBlockParam.ofText(
from line 2680
26972680 }),
26982681 Messages =
26992682 [
2700 new() { Role = Role.User, Content = "Can you search for information about Mars rovers?" },
2701 new()
2683 new UserMessageParam { Content = "Can you search for information about Mars rovers?" },
2684 new AssistantMessageParam
27022685 {
2703 Role = Role.Assistant,
2704 Content = new MessageParamContent(new List<ContentBlockParam>
2686 Content = new List<ContentBlockParam>
27052687 {
27062688 new ContentBlockParam(new ToolUseBlockParam()
27072689 {
from line 2694
27122694 ["query"] = JsonSerializer.SerializeToElement("Mars rovers"),
27132695 },
27142696 }),
2715 }),
2697 },
27162698 },
2717 new()
2699 new UserMessageParam
27182700 {
2719 Role = Role.User,
2720 Content = new MessageParamContent(new List<ContentBlockParam>
2701 Content = new List<ContentBlockParam>
27212702 {
27222703 new ContentBlockParam(new ToolResultBlockParam()
27232704 {
from line 2705
27242705 ToolUseID = "tool_1",
27252706 Content = "Found 3 relevant documents: Document 3 (Mars Exploration), Document 7 (Rover Technology), Document 9 (Mission History)",
27262707 }),
2727 }),
2708 },
27282709 },
2729 new()
2710 new AssistantMessageParam
27302711 {
2731 Role = Role.Assistant,
27322712 Content = "I found 3 relevant documents about Mars rovers. Let me get more details from the Mars Exploration document.",
27332713 },
2734 new()
2714 new UserMessageParam
27352715 {
2736 Role = Role.User,
2737 Content = new MessageParamContent(new List<ContentBlockParam>
2716 Content = new List<ContentBlockParam>
27382717 {
27392718 new ContentBlockParam(new TextBlockParam()
27402719 {
from line 2720
27412720 Text = "Yes, please tell me about the Perseverance rover specifically.",
27422721 CacheControl = new CacheControlEphemeral(),
27432722 }),
2744 }),
2723 },
27452724 },
27462725 ]
27472726 };
from line 2870
28912870 )
28922871 // Conversation history
28932872 .addUserMessage("Can you search for information about Mars rovers?")
2894 .addAssistantMessageOfBlockParams(
2873 .addAssistantMessageOfContentBlockParams(
28952874 List.of(
28962875 ContentBlockParam.ofToolUse(
28972876 ToolUseBlockParam.builder()
from line 2881
29022881 )
29032882 )
29042883 )
2905 .addUserMessageOfBlockParams(
2884 .addUserMessageOfContentBlockParams(
29062885 List.of(
29072886 ContentBlockParam.ofToolResult(
29082887 ToolResultBlockParam.builder()
from line 2893
29142893 )
29152894 )
29162895 )
2917 .addAssistantMessageOfBlockParams(
2896 .addAssistantMessageOfContentBlockParams(
29182897 List.of(
29192898 ContentBlockParam.ofText(
29202899 TextBlockParam.builder()
from line 2904
29252904 )
29262905 )
29272906 )
2928 .addUserMessageOfBlockParams(
2907 .addUserMessageOfContentBlockParams(
29292908 List.of(
29302909 ContentBlockParam.ofText(
29312910 TextBlockParam.builder()
Feedback