Merge pull request #882 from mannaandpoem/code_interpreter_remove_debug

remove debug
This commit is contained in:
garylin2099 2024-02-08 15:19:30 +08:00 committed by GitHub
commit c666f0e24e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -99,7 +99,7 @@ class ExecuteNbCode(Action):
for i, output in enumerate(outputs):
if output["output_type"] == "stream" and not any(
tag in output["text"]
for tag in ["| INFO | metagpt", "| ERROR | metagpt", "| WARNING | metagpt"]
for tag in ["| INFO | metagpt", "| ERROR | metagpt", "| WARNING | metagpt", "DEBUG"]
):
parsed_output += output["text"]
elif output["output_type"] == "display_data":