Repository navigation
Keep-warm pings go on past 97% once a session has had one - #876
Merged
Merged
Conversation
On 2026-11-30 the five-hour window reached 97% at 12:44, two hours before its reset. A waiting session's third ping, due at 12:52, would have cost about 0.02 points. It waited instead, the cache went cold at 12:57, and the answer the next day reloaded 112K tokens cold, about 1.1 points. From 97% on, a session's first ping (about 0.15 points) still waits. Its later pings go until the window reads 100%. The test is whether the session has had a ping before, not the ping's estimate: after a resume the first ping is measured at about 15K written, and the next is estimated from that though it writes about 550. The 5-point budget still applies. *opus5.5*
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.
Deskbar task d0b73b28
Keep-warm stopped every ping once the five-hour window read 97%. On 2026-11-30 the window reached 97% at 12:44, two hours before its 14:50 reset. The advice session on iam.ge was due its third ping at 12:52, a ping of about 0.02 points. It waited, its cache went cold at 12:57, and the answer the next day reloaded 112K tokens cold, about 1.1 points. The trace shows "keep-warm rounds wait: the five-hour window is at 97%" from 12:44 on.
What changes, in KeepWarm.cs:
KeepWarmPlan.Later). The first version used a 0.05-point estimate threshold, and review found it held exactly the second ping after a resume: the first ping of a resumed session measures about 15K written, the next is estimated from that, and it really writes about 550.Tested locally: Release build with warnings as errors is clean, and the 69 KeepWarm tests pass.
Release notes
opus5.5