diff --git a/metagpt/utils/repair_llm_raw_output.py b/metagpt/utils/repair_llm_raw_output.py index 2015b2ed7..68fa73108 100644 --- a/metagpt/utils/repair_llm_raw_output.py +++ b/metagpt/utils/repair_llm_raw_output.py @@ -362,7 +362,7 @@ def repair_escape_error(commands): When the original JSON string is " {"content":"\\\\( \\\\frac{1}{2} \\\\)"} ", The "content" will be parsed correctly to "\( \frac{1}{2} \)". - However, if the orginal JSON string is " {"content":"\( \frac{1}{2} \)"}" directly. + However, if the original JSON string is " {"content":"\( \frac{1}{2} \)"}" directly. It will cause a parsing error. To repair the wrong JSON string, the following transformations will be used: