Bump auto-compact threshold to 80% (#3925)

This commit is contained in:
David Katz
2025-08-07 15:26:20 -04:00
committed by GitHub
parent 6e6e0834e7
commit 0c28228c1e
@@ -68,7 +68,7 @@ pub async fn check_compaction_needed(
let threshold = threshold_override.unwrap_or_else(|| {
config
.get_param::<f64>("GOOSE_AUTO_COMPACT_THRESHOLD")
.unwrap_or(0.3) // Default to 30%
.unwrap_or(0.8) // Default to 80%
});
let provider = agent.provider().await?;