feat(core): enhanced anchored iterative context compression with self-verification (#15710)

This commit is contained in:
Ramón Medrano Llamas
2026-01-20 09:43:15 +01:00
committed by GitHub
parent e34f0b4a98
commit 1182168bd9
9 changed files with 283 additions and 40 deletions
@@ -46,6 +46,8 @@ export function CompressionMessage({
return 'Chat history compression did not reduce size. This may indicate issues with the compression prompt.';
case CompressionStatus.COMPRESSION_FAILED_TOKEN_COUNT_ERROR:
return 'Could not compress chat history due to a token counting error.';
case CompressionStatus.COMPRESSION_FAILED_EMPTY_SUMMARY:
return 'Chat history compression failed: the model returned an empty summary.';
case CompressionStatus.NOOP:
return 'Nothing to compress.';
default: