From 0c28228c1eed24fc1de8953751a2c12b425a9127 Mon Sep 17 00:00:00 2001 From: David Katz Date: Thu, 7 Aug 2025 15:26:20 -0400 Subject: [PATCH] Bump auto-compact threshold to 80% (#3925) --- crates/goose/src/context_mgmt/auto_compact.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/goose/src/context_mgmt/auto_compact.rs b/crates/goose/src/context_mgmt/auto_compact.rs index ffc970f9..6e31aecf 100644 --- a/crates/goose/src/context_mgmt/auto_compact.rs +++ b/crates/goose/src/context_mgmt/auto_compact.rs @@ -68,7 +68,7 @@ pub async fn check_compaction_needed( let threshold = threshold_override.unwrap_or_else(|| { config .get_param::("GOOSE_AUTO_COMPACT_THRESHOLD") - .unwrap_or(0.3) // Default to 30% + .unwrap_or(0.8) // Default to 80% }); let provider = agent.provider().await?;