mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-15 11:02:36 +02:00
Merge pull request #1381 from kiedeng/fix_stream_output
Fixing Streamed Output Misalignment
This commit is contained in:
commit
b8c39a46ba
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