Request 2 caches its request content (not the response) changedbuild-with-claude/prompt-caching
Nearest release: v2.1.307, published an hour before 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+2added
Lines−2removed
From line
171
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 171, old and new numbered
/
from line 171
171171 client = Anthropic::Client.new
172172
173173 response = client.messages.create(
174 model: "claude-opus-5-5",
174 model: Anthropic::Model::CLAUDE_OPUS_5_5,
175175 max_tokens: 1024,
176176 cache_control: {type: "ephemeral"},
177177 system: "You are an AI assistant tasked with analyzing literary works. Your goal is to provide insightful commentary on themes, characters, and writing style.",
from line 448
448448 client = Anthropic::Client.new
449449
450450 response = client.messages.create(
451 model: "claude-opus-5-5",
451 model: Anthropic::Model::CLAUDE_OPUS_5_5,
452452 max_tokens: 1024,
453453 cache_control: {type: "ephemeral"},
454454 system: "You are a helpful assistant that remembers our conversation.",
No line in this hunk matches that.