mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #65] [CLOSED] cache: preserve root system prompt checkpoint across turns and eviction #2437
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2437
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/65
Author: @code-martin
Created: 9/28/2026
Status: ❌ Closed
Base:
main← Head:feature/root-checkpoint-retention📝 Commits (1)
c42e92fcache: preserve root system prompt checkpoint across turns and eviction📊 Changes
1 file changed (+22 additions, -11 deletions)
View changed files
📝
src/program/generate.cpp(+22 -11)📄 Description
Summary
This PR addresses root checkpoint retention for --serve prompt caching, keeping the root system prompt cached across branching chats and new conversations without compromising v0.1.13 prefill throughput:
Root & Last Turn Checkpoints Only:
Root Preservation During Eviction:
esume == checks[0].ids.size()) without prefilling the system prompt again.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.