From 39a0a837dcff247f94f3a7af8d4d16ee52e6e469 Mon Sep 17 00:00:00 2001 From: yzlin Date: Tue, 1 Aug 2023 12:54:24 +0800 Subject: [PATCH] add an important logging: the code to run --- metagpt/actions/run_code.py | 1 + 1 file changed, 1 insertion(+) diff --git a/metagpt/actions/run_code.py b/metagpt/actions/run_code.py index c0e166628..1334c9127 100644 --- a/metagpt/actions/run_code.py +++ b/metagpt/actions/run_code.py @@ -97,6 +97,7 @@ class RunCode(Action): async def run( self, code, mode="script", code_file_name="", test_code="", test_file_name="", command=[], **kwargs ): + logger.info(f"Running {' '.join(command)}") if mode == "script": outs, errs = await self.run_script(command=command, **kwargs) elif mode == "text":