Skip to main content

MAX_TOOL_OUTPUT_CHARS

Constant MAX_TOOL_OUTPUT_CHARS 

Source
pub const MAX_TOOL_OUTPUT_CHARS: usize = 30_000;
Expand description

Maximum characters of tool output injected into the LLM context without truncation.

Output that exceeds this limit is split into a head and tail via truncate_tool_output to keep both the beginning and end of large command outputs.