mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-02 04:12:45 +02:00
修改role_zore提示词
This commit is contained in:
parent
775a327fbd
commit
94aada5e0d
3 changed files with 10 additions and 7 deletions
|
|
@ -38,7 +38,7 @@ class Editor:
|
|||
# self.resource.report(path, "path")
|
||||
|
||||
def read(self, path: str) -> FileBlock:
|
||||
"""Read the whole content of a file."""
|
||||
"""Read the whole content of a file.It is strongly advised to utilize absolute paths"""
|
||||
with open(path, "r") as f:
|
||||
self.resource.report(path, "path")
|
||||
lines = f.readlines()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue