mirror of
https://github.com/hwchase17/langchain.git
synced 2026-02-21 14:43:07 +00:00
- **Description:** changed json.py to handle additional cases of partial json string to be parsed, basically by dropping the last character in the string until a valid json string is found or the string is empty. Also added additional test cases. - **Issue:** function parse_partial_json could not parse cases where the key is present but the value is not. --------- Co-authored-by: Nuno Campos <nuno@langchain.dev>