修改role_zore提示词

This commit is contained in:
黄伟韬 2024-07-18 14:20:26 +08:00
parent 775a327fbd
commit 94aada5e0d
3 changed files with 10 additions and 7 deletions

View file

@ -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()