agent-zero/extensions/python/message_loop_prompts_before
Alessandro 6de7073bf9 Fix blocking history compression edge cases
Detect stalled automatic history compression so the prompt-prep wait loop cannot spin forever when no further reduction is possible.

Split large manual chat compaction input by verified token budget instead of line midpoint, covering single-line 85k+ character histories.

Add regression tests for stalled compression, max-pass bailout, and large single-line compaction chunking.
2026-05-12 04:47:28 +02:00
..
.gitkeep BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
_90_organize_history_wait.py Fix blocking history compression edge cases 2026-05-12 04:47:28 +02:00