diff --git a/metagpt/tools/libs/editor.py b/metagpt/tools/libs/editor.py index a2670a2bd..78560e375 100644 --- a/metagpt/tools/libs/editor.py +++ b/metagpt/tools/libs/editor.py @@ -100,8 +100,7 @@ class Editor: file_path=file_path, block_content=block_content, ) - self.resource.report(result.file_path, "path", - extra={"type": "search", "line_range": {"start": start, "end": end}}) + self.resource.report(result.file_path, "path", extra={"type": "search", "line": i, "symbol": symbol}) return result return None