🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
chore
刘棒棒980851136fb1
diff --git a/metagpt/actions/mi/execute_nb_code.py b/metagpt/actions/mi/execute_nb_code.pyindex 217fc8ddc..f6a8defbd 100644--- a/metagpt/actions/mi/execute_nb_code.py+++ b/metagpt/actions/mi/execute_nb_code.py@@ -120,8 +120,8 @@ class ExecuteNbCode(Action):is_success = Falseoutput_text = remove_escape_and_color_codes(output_text)- # The valid information of the exception is at the end,- # the valid information of Normal output is at the begining.+ # The useful information of the exception is at the end,+ # the useful information of normal output is at the begining.output_text = output_text[:keep_len] if is_success else output_text[-keep_len:]parsed_output.append(output_text)