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

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

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