diff --git a/metagpt/utils/common.py b/metagpt/utils/common.py index f74d2d8b7..f23993670 100644 --- a/metagpt/utils/common.py +++ b/metagpt/utils/common.py @@ -79,7 +79,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