Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

fix: module not found error.

刘棒棒0843a82a1bf4
diff --git a/metagpt/roles/ml_engineer.py b/metagpt/roles/ml_engineer.py
index 53d693c8e..56fbd2525 100644
--- a/metagpt/roles/ml_engineer.py
+++ b/metagpt/roles/ml_engineer.py
@@ -84,7 +84,7 @@ class MLEngineer(Role):
# ask for acceptance, users can other refuse and change tasks in the plan
task_result_confirmed = await self._ask_review()
- if success and task_result_confirmed:
+ if success and task_result_confirmed and not code.startswith("!pip"):
# tick off this task and record progress
task.code = code
task.result = result