pub fn parse_json_response<T: DeserializeOwned>(raw: &str) -> Result<T, String>Expand description
Strip markdown code fences from an LLM response and deserialize as JSON.
Returns Err(String) with a descriptive message on failure so callers can
wrap it into their own Mem7Error variant.