Merge pull request #2897 from QwenLM/feat/thinking-cross-turn-retention-idle-cleanup

feat(core): thinking block cross-turn retention with idle cleanup
This commit is contained in:
tanzhenxin 2026-04-08 15:26:53 +08:00 committed by GitHub
commit 3c23952ef7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 434 additions and 2 deletions

View file

@ -388,6 +388,11 @@
"default": true
}
}
},
"gapThresholdMinutes": {
"description": "Minutes of inactivity after which retained thinking blocks are cleared to free context tokens. Aligns with provider prompt-cache TTL.",
"type": "number",
"default": 5
}
}
},