Repository navigation
perf(roadmap): a stage return reads the Claude prompt cache - #7931
Merged
Merged
Conversation
Owner
Author
Check resultsHead commit:
Skipped check: Trivy |
dan-petty
marked this pull request as ready for review
November 30, 2026 20:41
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 30, 2026
🤖 I have created a release *beep* *boop* --- ## [0.265.0](v0.264.1...v0.265.0) (2026-11-30) ### Features * **docs:** check code-span paths in prompt documents ([#7941](#7941)) ([68eb592](68eb592)) ### Bug Fixes * **roadmap:** accept requirement names and quoted stage commands ([#7939](#7939)) ([3afb7b7](3afb7b7)) * **service:** read a 403 that names a rate limit as one ([#7940](#7940)) ([f197986](f197986)) * **service:** redeliver once for the App with a valid JWT ([#7938](#7938)) ([c92bfdb](c92bfdb)) ### Performance Improvements * **roadmap:** a stage return reads the Claude prompt cache ([#7931](#7931)) ([b4af1d6](b4af1d6)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On a Claude gateway group, each gate return of a stage plan wrote the whole plan request into the Anthropic prompt cache again, because the request,
previousandproblemwere one user message.A plan run of a Claude model now sends the request as two text parts with a cache break after the part that every run of the item repeats. The model of a Claude group turns the break into
cache_controlthrough the pydantic-ai hook for user prompt items. The joined text does not change, so the prompt does not change. Each other model gets one text, as before.A live test on
claude-sonnet-5-5read 26,895 of 26,932 input tokens from the cache on the second request, with no cache write.Closes #7922
Change:
openspec/changes/archive/2026-11-30-7922-stage-return-prompt-cache/