mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-01 02:15:27 -05:00
By not having correct_json(json_str) in the try/except, it was still easily possible to throw Invalid JSON errors. When responses were received with no JSON at all, parsing would fail on attempting to locate the braces.
4.0 KiB
4.0 KiB