mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-10 16:22:37 +02:00
Fixing Streamed Output Misalignment
This commit is contained in:
parent
9f8f0a27fd
commit
a3b300bd1d
1 changed files with 4 additions and 2 deletions
|
|
@ -11,8 +11,10 @@ from multiprocessing import Pipe
|
|||
|
||||
|
||||
class 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 = False
|
||||
|
||||
format_data = {
|
||||
"id": "chatcmpl-96bVnBOOyPFZZxEoTIGbdpFcVEnur",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue