mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-29 02:46:24 +02:00
Merge pull request #41 from qa6300525/2023-07-10_chengmaoyu
Tolerates some formatting errors
This commit is contained in:
commit
b370507c1e
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ class OutputParser:
|
|||
# Convert string representation of list to a Python list using ast.literal_eval.
|
||||
tasks = ast.literal_eval(tasks_list_str)
|
||||
else:
|
||||
raise Exception
|
||||
tasks = text.split("\n")
|
||||
return tasks
|
||||
|
||||
@classmethod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue