Skip to content

Commit 6420481

Browse files
authored
Merge pull request #744 from arnaudgelas/fix/requirements
Fix: requirements.txt was not written to the disk
2 parents d1166e9 + 1238c48 commit 6420481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metagpt/actions/project_management.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ async def _merge(self, system_design_doc, task_doc, schema=CONFIG.prompt_schema)
100100
@staticmethod
101101
async def _update_requirements(doc):
102102
m = json.loads(doc.content)
103-
packages = set(m.get("Required Python third-party packages", set()))
103+
packages = set(m.get("Required Python packages", set()))
104104
file_repo = CONFIG.git_repo.new_file_repository()
105105
requirement_doc = await file_repo.get(filename=PACKAGE_REQUIREMENTS_FILENAME)
106106
if not requirement_doc:

0 commit comments

Comments
 (0)