Skip to main content

tool_calls_from_value

Function tool_calls_from_value 

Source
pub fn tool_calls_from_value(message: &Value) -> Vec<UiToolCall>
Expand description

Extract the finalized tool calls (type: "toolCall") from an assistant message value, in document order.