Watch
0
0
Fork
You've already forked hyperhive
0

hive-agent: let an agent compact from 40% context usage instead of 66%

This commit is contained in:
damocles 2026-11-14 12:35:27 +01:00
commit 183e55dd80

View file

@ -124,7 +124,7 @@ pub enum Request {
ReminderRollup { since_secs: u64 },
/// Agent self-service request to compact the current session, mirroring
/// the `compact` MCP tool. Gated server-side: only
/// honoured when the last completed turn's context usage is above 66%
/// honoured when the last completed turn's context usage is above 40%
/// of the effective context window — below that, `Response::Err`
/// explains why and takes no action. On a pass, queues the same
/// deferred `compact_pending` flag (consumed