Add a prompt-message budget trigger to compaction
Add a configurable maximum prompt-message count to compaction-basic, with policy inheritance and per-route overrides, so compaction triggers when message count exceeds gateway limits even if token usage remains below the threshold.
Explore challenge
The problem
Add a configurable maximum prompt-message count to compaction-basic, with policy inheritance and per-route overrides, so compaction triggers when message count exceeds gateway limits even if token usage remains below the threshold.