Skip to main content

refusal_reason

Function refusal_reason 

Source
pub fn refusal_reason(r: &ContextReading, now_ms: u64) -> Option<String>
Expand description

Why a self-compaction (or a fresh session) can’t be scheduled now, or None, saying when it will be allowed. The count of calls does not stop an ACP agent whose context is already past its fresh-start point: a harness’s updates are not one per model call and its context may grow far in few of them, and it may have no compaction to shed it with. The ten minutes between two always hold: they are what stops a compact, catch-up, compact loop.