Skip to content

fix(agent): Require token savings for automatic compression - #4018

Merged
wsp1911 merged 1 commit into
openBitFun:mainfrom
wsp1911:fix/issue-4007
Nov 20, 2026
Merged

wsp1911 merged 1 commit into
openBitFun:mainfrom
wsp1911:fix/issue-4007

Conversation

@wsp1911

@wsp1911 wsp1911 commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator

Skip summary requests when the retained history already rules out token
savings. Compare the full candidate against the latest context before
replacing it so an oversized summary cannot grow the session history.
Reconsider skipped compression when the history or model budget changes.

Refs: #4007

Skip summary requests when the retained history already rules out token
savings. Compare the full candidate against the latest context before
replacing it so an oversized summary cannot grow the session history.
Reconsider skipped compression when the history or model budget changes.

Refs: openBitFun#4007
@wsp1911
wsp1911 merged commit b0bc371 into openBitFun:main Nov 20, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant