🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
format
黄伟韬f62e66ec5862
diff --git a/metagpt/tools/libs/editor.py b/metagpt/tools/libs/editor.pyindex edc228b12..24eca65fc 100644--- a/metagpt/tools/libs/editor.py+++ b/metagpt/tools/libs/editor.py@@ -38,7 +38,7 @@ class Editor:# self.resource.report(path, "path")def read(self, path: str) -> FileBlock:- """Read the whole content of a file.It is strongly advised to utilize absolute paths"""+ """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()