mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-28 18:36:22 +02:00
add an important logging: the code to run
This commit is contained in:
parent
8abdca3057
commit
39a0a837dc
1 changed files with 1 additions and 0 deletions
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue