Skip to main content

estimate_tool_declarations

Function estimate_tool_declarations 

Source
pub fn estimate_tool_declarations(tools: Option<&[Tool]>) -> u32
Expand description

Estimate tokens for tool declarations alone (the per-request dynamic overhead that never accumulates into a message-array ledger).