Skip to content

Commit

Permalink
修复knowledge_base_chat_iterator传参错误 (chatchat-space#2386)
Browse files Browse the repository at this point in the history
  • Loading branch information
xldistance committed Dec 14, 2023
1 parent 332e1cc commit 7e8391e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/chat/knowledge_base_chat.py
Expand Up @@ -119,4 +119,4 @@ async def knowledge_base_chat_iterator(
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))

0 comments on commit 7e8391e

Please sign in to comment.