Skip to content

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

Fix: requirements.txt was not written to the disk

Arnaud Gelas1238c484511e
diff --git a/metagpt/actions/project_management.py b/metagpt/actions/project_management.py
index e40c2034b..ea5e4016e 100644
--- a/metagpt/actions/project_management.py
+++ b/metagpt/actions/project_management.py
@@ -100,7 +100,7 @@ class WriteTasks(Action):
@staticmethod
async def _update_requirements(doc):
m = json.loads(doc.content)
- packages = set(m.get("Required Python third-party packages", set()))
+ packages = set(m.get("Required Python packages", set()))
file_repo = CONFIG.git_repo.new_file_repository()
requirement_doc = await file_repo.get(filename=PACKAGE_REQUIREMENTS_FILENAME)
if not requirement_doc: