fix: stash

This commit is contained in:
Junyan Qin
2025-08-07 21:56:40 +08:00
parent e744e9c4ef
commit 051fffd41e
2 changed files with 26 additions and 16 deletions

View File

@@ -48,8 +48,7 @@ class WebChatDebugRouterGroup(group.RouterGroup):
}
return quart.Response(stream_generator(generator), mimetype='text/event-stream',headers=headers)
else:
# result = await webchat_adapter.send_webchat_message(pipeline_uuid, session_type, message_chain_obj)
else: # non-stream
result = None
async for message in webchat_adapter.send_webchat_message(
pipeline_uuid, session_type, message_chain_obj