mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
Merge pull request #744 from arnaudgelas/fix/requirements
Fix: requirements.txt was not written to the disk
This commit is contained in:
commit
6420481c70
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue