pub fn parse_string_list_with_trace(
response: &str,
opts: &ParseOptions,
) -> Result<(Vec<String>, ParseTrace), ParseError>Expand description
Parse an LLM response into a cleaned list of strings with diagnostic trace.
Identical to parse_string_list but accepts ParseOptions for safety
limits and returns ParseTrace recording which strategies were attempted.
ยงErrors
Returns ParseError::TooLarge if input exceeds opts.max_input_bytes,
ParseError::TooDeep if JSON nesting exceeds opts.max_nesting_depth.