Skip to content

bug:context overflow causing event stream collapsed - #445

Merged
zfoong merged 2 commits into
V1.4.3from
fix/context-overflow
Sep 7, 2026
Merged

zfoong merged 2 commits into
V1.4.3from
fix/context-overflow

Conversation

@zfoong

@zfoong zfoong commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

V1.4.2, when we crank up the number of event summarization thresholds, the max_character_threshold for LLM providers prevents and truncates part of the event stream, forcing the event stream to collapse to just the early turns and the latest delta turn. All context is lost in between. I remove the max_char_threshold, lower the event summarization thresholds, and make the threshold and tail configurable.

@zfoong
zfoong requested a review from ahmad-ajmal September 7, 2026 03:46
@zfoong
zfoong merged commit 3b87745 into V1.4.3 Sep 7, 2026
@zfoong
zfoong deleted the fix/context-overflow branch September 29, 2026 06:37
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