mirror of
https://github.com/RYDE-WORK/ktransformers.git
synced 2026-02-06 06:23:15 +08:00
fix: fix SSE formatting
This commit is contained in:
parent
b4fb633991
commit
b05cc5685d
@ -73,7 +73,7 @@ class RunStepDelta(Object):
|
|||||||
|
|
||||||
class Done():
|
class Done():
|
||||||
def to_stream_reply(self):
|
def to_stream_reply(self):
|
||||||
return f"event: done\ndata: [DONE]\n\n"
|
return f"data: [DONE]\n\n"
|
||||||
|
|
||||||
|
|
||||||
async def check_client_link(request: Request, async_events: AsyncIterable):
|
async def check_client_link(request: Request, async_events: AsyncIterable):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user