mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-07-02 16:01:04 +02:00
Refine the teamleader instruction. Adding a 'User Requirements' section between the 'Example' and 'Instruct' sections.
This commit is contained in:
parent
c45710bc51
commit
b3707c7a09
8 changed files with 40 additions and 19 deletions
|
|
@ -36,7 +36,7 @@ class Editor:
|
|||
with open(path, "w", encoding="utf-8") as f:
|
||||
f.write(content)
|
||||
# self.resource.report(path, "path")
|
||||
return f"The writing/coding the of the file {os.path.basename(path)}' is now completed. The file '{os.path.basename(path)}' has been successfully created."
|
||||
return f"Writing/coding the of the file {os.path.basename(path)}' has been completed. The file '{os.path.basename(path)}' has been successfully created."
|
||||
|
||||
def read(self, path: str) -> FileBlock:
|
||||
"""Read the whole content of a file. Using absolute paths as the argument for specifying the file location."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue