Skip to main content

arg_parse_error_value

Function arg_parse_error_value 

Source
pub fn arg_parse_error_value(
    error: impl Into<String>,
    raw: impl Into<String>,
) -> Value
Expand description

Build a Value that carries an argument-parse error for the loop to surface. Use from any provider stream layer that decoded a tool call whose arguments string was not valid JSON.