mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-07 15:38:27 +08:00
修复knowledge_base_chat_iterator传参错误 (#2386)
This commit is contained in:
parent
332e1ccfaa
commit
7e8391eb55
@ -119,4 +119,4 @@ async def knowledge_base_chat(query: str = Body(..., description="用户输入",
|
|||||||
ensure_ascii=False)
|
ensure_ascii=False)
|
||||||
await task
|
await task
|
||||||
|
|
||||||
return EventSourceResponse(knowledge_base_chat_iterator(query, kb, top_k, history))
|
return EventSourceResponse(knowledge_base_chat_iterator(query, top_k, history,model_name,prompt_name))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user