#agents.defaults.contextPruning.mode invalid input

1 messages ยท Page 1 of 1 (latest)

hoary juniper
#

After update to 2026.1.22

neat coyoteBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> โœ… Mark Solution

fallen forumBOT
# hoary juniper After update to 2026.1.22

The issue is a breaking change in 2026.1.22. The old modes adaptive and aggressive are no longer valid.

Valid modes now:

  • "off" - disabled
  • "cache-ttl" - new TTL-based pruning mode

Fix your config:

{
  agents: {
    defaults: {
      contextPruning: { mode: "cache-ttl" }  // or "off" to disable
    }
  }
}