streamJsonMaxToolResultChars top-level constant
int
const streamJsonMaxToolResultChars
Cap on a single tool-result text block in the stream (E3), matching
the house truncation idiom (…(+N chars)).
Implementation
const streamJsonMaxToolResultChars = 100 * 1000;