pub fn reset_parser_state(
buffer: &mut String,
prev_tool_call_arr: &mut Vec<Value>,
current_tool_id: &mut i32,
current_tool_name_sent: &mut bool,
streamed_args_for_tool: &mut Vec<String>,
)Expand description
Reset the entire parser state (used at the start of a new request). Clears all accumulated tool calls and resets all state to initial values.