mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-01-31 03:03:22 +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)
|
||||
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