mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-10 16:22:37 +02:00
fix conflict
This commit is contained in:
parent
0aac525b29
commit
2502dd3651
10 changed files with 284 additions and 34 deletions
|
|
@ -196,6 +196,8 @@ def repair_invalid_json(output: str, error: str) -> str:
|
|||
new_line = f'"{line}'
|
||||
elif '",' in line:
|
||||
new_line = line[:-2] + "',"
|
||||
else:
|
||||
new_line = line
|
||||
|
||||
arr[line_no] = new_line
|
||||
output = "\n".join(arr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue