diff --git a/metagpt/actions/execute_code.py b/metagpt/actions/execute_code.py index c5ed8964e..36e01ed0e 100644 --- a/metagpt/actions/execute_code.py +++ b/metagpt/actions/execute_code.py @@ -157,11 +157,6 @@ class ExecutePyCode(ExecuteCode, Action): return code, language - def save_notebook(self, path: str): - path = Path(path) - path.parent.mkdir(parents=True, exist_ok=True) - nbformat.write(self.nb, path) - async def run(self, code: Union[str, Dict, Message], language: str = "python") -> Tuple[str, bool]: code, language = self._process_code(code, language)