mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-11 08:16:03 +00:00
fix: in the webchat non-stream not save resp_message in message_lists
This commit is contained in:
@@ -276,6 +276,7 @@ class WebChatAdapter(msadapter.MessagePlatformAdapter):
|
||||
|
||||
queue = use_session.resp_queues[message_id]
|
||||
resp_message = await queue.get()
|
||||
use_session.get_message_list(pipeline_uuid).append(resp_message)
|
||||
resp_message.id = msg_id
|
||||
resp_message.is_final = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user