mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-26 15:49:42 +02:00
Update: improve the unit testing of tutorial assistants and OCR assistants.
This commit is contained in:
parent
4f52b47610
commit
6432ed6e60
4 changed files with 8 additions and 18 deletions
|
|
@ -90,4 +90,5 @@ class TutorialAssistant(Role):
|
|||
msg = await super().react()
|
||||
root_path = TUTORIAL_PATH / datetime.now().strftime("%Y-%m-%d_%H-%M-%S")
|
||||
await File.write(root_path, f"{self.main_title}.md", self.total_content.encode("utf-8"))
|
||||
msg.content = str(root_path / f"{self.main_title}.md")
|
||||
return msg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue