-
Notifications
You must be signed in to change notification settings - Fork 46k
perf(backend): enable cross-user prompt caching via SystemPromptPreset #12758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 5 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
c4e48b5
perf(backend): enable cross-user prompt caching via SystemPromptPreset
majdyz 54f507b
fix(backend): address PR review — extract testable helper, add TypedD…
majdyz fa6cc99
fix(backend): format service.py and test files
majdyz 0ab7c98
fix: remove accidentally committed worktree, add to gitignore
majdyz cd8079d
test: add CHAT_CLAUDE_AGENT_CROSS_USER_PROMPT_CACHE to _CONFIG_ENV_VARS
majdyz b7bec5d
fix(backend): align _SystemPromptPreset with SDK shape, drop unused m…
majdyz f6f70e1
fix(backend): add SystemPromptPreset compat test, move inline import …
majdyz 34832ca
test(backend): compat-test the exact preset dict sent to ClaudeAgentO…
majdyz 2cf737d
fix(backend): address review comments on cross-user prompt caching PR
majdyz ae8608a
fix(backend): make _SystemPromptPreset.append required, remove hand-r…
majdyz 5f366f3
dx(backend): fix black formatting in sdk_compat_test.py
majdyz 2ba2a2b
fix(backend): move _SystemPromptPreset TypedDict below all imports
majdyz 7d48765
fix: resolve merge conflicts with dev
majdyz 43b3377
fix(backend/copilot): disable excludeDynamicSections preset on --resu…
majdyz 896ebea
refactor(backend/copilot): replace local _SystemPromptPreset with SDK…
majdyz f80d810
fix(backend/copilot): recompute system_prompt on retry when use_resum…
majdyz 424e8e3
fix(backend/copilot): resolve merge conflict with dev (PR #12777 sess…
majdyz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.