Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

add an important logging: the code to run

yzlin39a0a837dcff
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":