| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
The following comment was made by an LLM, it may be inaccurate: Found a related PR: PR #20109: fix(opencode): keep dynamic user.system separate for prompt caching This PR appears to be directly related to the current PR #21408. Both address system prompt handling for Anthropic-style prompt caching. PR #20109 specifically mentions keeping dynamic user.system separate for prompt caching, which is closely aligned with the goal of preserving cache boundaries in the current PR. These may be addressing the same issue (#20110) or complementary aspects of it. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Issue for this PR
Closes #20110
Type of change
What does this PR do?
Keeps the static system prompt header separate from turn-specific system instructions in packages/opencode/src/session/llm.ts.
This lets Anthropic-style prompt caching reuse the stable prefix while preserving the existing collapse-back-to-two-slots behavior after plugin system transforms.
How did you verify your code works?
Screenshots / recordings
N/A
Checklist