chore: set shared tool-sieve context tail window to 2048

This commit is contained in:
CJACK. committed 2026-03-30 15:41:38 +08:00
1 parent 775bf3b578
commit c07736fbea
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -34,7 +34,8 @@ type toolCallDelta struct {
Arguments string
}
const toolSieveContextTailLimit = 256
// Keep in sync with JS TOOL_SIEVE_CONTEXT_TAIL_LIMIT.
const toolSieveContextTailLimit = 2048
func (s *toolStreamSieveState) resetIncrementalToolState() {
s.disableDeltas = false