Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions packages/core/src/core/turn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,10 @@ export enum CompressionStatus {
NOOP,

/**
* The compression call produced a summary, but the output hit
* COMPACT_MAX_OUTPUT_TOKENS, indicating likely truncation. The summary
* The compression call produced a summary, but the output reached the
* requested output budget — the fixed COMPACT_MAX_OUTPUT_TOKENS ceiling
* or the window-clamped budget below it (issue #7960) — indicating
* likely truncation. The summary
* is dropped (newHistory=null) and the attempt is treated as a failure:
* `isCompressionFailureStatus` returns true so it counts toward the
* per-chat circuit breaker. Kept distinct from
Expand Down
Loading
Loading