mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-28 18:36:22 +02:00
Merge pull request #6 from Stitch-z/feature-tutorial-assistant
update file tool log
This commit is contained in:
commit
479977d27a
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ class File:
|
|||
full_path = root_path / filename
|
||||
async with aiofiles.open(full_path, mode="wb") as writer:
|
||||
await writer.write(content)
|
||||
logger.info(f"Successfully write docx: {full_path}")
|
||||
logger.info(f"Successfully write file: {full_path}")
|
||||
return full_path
|
||||
except Exception as e:
|
||||
logger.error(f"Error writing file: {e}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue