Skip to main content

TOOL_CONTENT_THRESHOLD_CHARS

Constant TOOL_CONTENT_THRESHOLD_CHARS 

Source
pub const TOOL_CONTENT_THRESHOLD_CHARS: usize = 2_000;
Expand description

Maximum number of characters allowed in a single unprotected role: "tool" or role: "assistant" message content string before it is eligible for replacement with TRUNCATION_PLACEHOLDER.