mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-27 16:04:21 +00:00
fix: be adapter.py func reply_message_chunk agr message_id alter bot_message,and in pipelinemgr.py respback.py agr alter
This commit is contained in:
@@ -41,10 +41,9 @@ class SendResponseBackStage(stage.PipelineStage):
|
||||
# TODO 命令与流式的兼容性问题
|
||||
if await query.adapter.is_stream_output_supported():
|
||||
is_final = [msg.is_final for msg in query.resp_messages][0]
|
||||
print(query.resp_messages[-1])
|
||||
await query.adapter.reply_message_chunk(
|
||||
message_source=query.message_event,
|
||||
message_id=query.resp_messages[-1].resp_message_id,
|
||||
bot_message=query.resp_messages[-1],
|
||||
message=query.resp_message_chain[-1],
|
||||
quote_origin=quote_origin,
|
||||
is_final=is_final,
|
||||
|
||||
Reference in New Issue
Block a user