pub fn create_streaming_tool_result_chunk<T: Serialize>(
tool_call_id: impl Into<String>,
result: &T,
) -> Result<PartialResponse, Error>Expand description
Creates a streaming chunk containing the result of a single function call.
This serializes the result to a JSON string for you.