🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
Fixing Streamed Output Misalignment
kavena3b300bd1d49
diff --git a/metagpt/utils/stream_pipe.py b/metagpt/utils/stream_pipe.pyindex 4c4485158..1cccda7ee 100644--- a/metagpt/utils/stream_pipe.py+++ b/metagpt/utils/stream_pipe.py@@ -11,8 +11,10 @@ from multiprocessing import Pipeclass StreamPipe:- parent_conn, child_conn = Pipe()- finish: bool = False+ def __init__(self,name=None):+ self.name = name+ self.parent_conn, self.child_conn = Pipe()+ self.finish: bool = Falseformat_data = {"id": "chatcmpl-96bVnBOOyPFZZxEoTIGbdpFcVEnur",