pub fn parse(text: &str, fmt: ToolFormat) -> Vec<ToolCall>Expand description
Parse tool calls from text in a known fmt. Returns an empty vec when
nothing parses (a plain assistant message, not a tool call).
pub fn parse(text: &str, fmt: ToolFormat) -> Vec<ToolCall>Parse tool calls from text in a known fmt. Returns an empty vec when
nothing parses (a plain assistant message, not a tool call).