dev #5

Closed
ly wants to merge 93 commits from dev into dev-db
Showing only changes of commit 8d4382376f - Show all commits
+2
View File
@@ -59,6 +59,8 @@ async def chat(
event_handler = EventCallbackHandler()
chat_engine.callback_manager.handlers.append(event_handler) # type: ignore
# 由于基于历史消息的提示词没有调整好,所以暂时屏蔽历史消息
messages = None
response = await chat_engine.astream_chat(last_message_content, messages)
process_response_nodes(response.source_nodes, background_tasks)