GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||
GeezerVison is showing github.com — feat: improve deepseek prompt cache reuse by ChangedenCZD · Pull Request #31867 · anomalyco/opencode Conversation
|
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The following comment was made by an LLM, it may be inaccurate: Based on my search results, here are potentially related PRs: Potentially Related PRs
These PRs address similar cache reuse patterns, particularly around splitting stable/dynamic content to prevent cache invalidation. PR #31867 takes a similar but DeepSeek-specific approach by moving the date injection point. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
ec246aa to
0f7d1ce
Compare
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
9d9740c to
110b60b
Compare
1cfb791 to
59a4b6e
Compare
59a4b6e to
eb29ecb
Compare
eb29ecb to
e00458d
Compare
Keep the volatile current date out of the cached system prefix for DeepSeek models (both the V2 runner and V1 path) and instead append it to the trailing user turn, add SystemContext.omit, and rework DeepSeek reasoning handling so reasoning_content is only replayed across assistant tool turns (and caching hints are skipped) — maximizing DeepSeek prompt-prefix cache reuse. Ported from anomalyco#31867 (adapted for the Effect layer; the prepare() date test passes an explicit system prompt since anomalyco#19961 moved system assembly to callers). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Drop the DeepSeek-only date omission and trailing-user append from anomalyco#31867. The daily date now rides the shared system-reminder, so DeepSeek no longer has a second path that can bust or double-inject it. Cache-control reuse from anomalyco#31867 stays.
|
This branch has been upgraded to V2. We're no longer taking PRs for V1. If you think this is still relevant, please port it over and open it for V2. — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[FEATURE]: improve Deepseek prompt cache reuse
There was an error while loading. Please reload this page.