From 91d5e8491e01d75eede6e23535e8b4ab88c1ac20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E4=BC=9F=E9=9F=AC?= Date: Tue, 13 Aug 2024 19:51:38 +0800 Subject: [PATCH] fix format issuse --- metagpt/tools/libs/editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metagpt/tools/libs/editor.py b/metagpt/tools/libs/editor.py index eed92e96b..e314cb15d 100644 --- a/metagpt/tools/libs/editor.py +++ b/metagpt/tools/libs/editor.py @@ -237,7 +237,7 @@ class Editor(BaseModel): return lines except: pass - return [f"Reading failed: `{path}` cannot be decoded by `{encoding_format_list}`. Please ask a human for help."] + return [f"Reading failed: `{path}` cannot be decoded by `{encoding_format_list}`."] @staticmethod async def _read_pdf(path: Union[str, Path]) -> List[str]: