mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-04 05:12:37 +02:00
fix options error
This commit is contained in:
parent
dc14770e3d
commit
43dda1edaf
2 changed files with 10 additions and 13 deletions
|
|
@ -109,7 +109,8 @@ class WriteTasks(Action):
|
|||
|
||||
async def _save(self, rsp):
|
||||
file_path = CONFIG.workspace / "docs/api_spec_and_tasks.md"
|
||||
file_path.write_text(rsp.content)
|
||||
async with aiofiles.open(file_path, "w") as f:
|
||||
await f.write(rsp.content)
|
||||
|
||||
# Write requirements.txt
|
||||
requirements_path = CONFIG.workspace / "requirements.txt"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue