🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
add logic for unknown task_type
lidanyang047bb10e72c7
diff --git a/metagpt/roles/ml_engineer.py b/metagpt/roles/ml_engineer.pyindex b8a258b46..08c5649d4 100644--- a/metagpt/roles/ml_engineer.py+++ b/metagpt/roles/ml_engineer.py@@ -123,7 +123,7 @@ class MLEngineer(Role):# print("*" * 10)# breakpoint()- if not self.use_tools or self.plan.current_task.task_type == "unknown":+ if not self.use_tools or self.plan.current_task.task_type == "":# code = "print('abc')"code = await WriteCodeByGenerate().run(context=context, plan=self.plan, task_guide=task_guide