mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-01 17:16:51 +00:00
fix(ChatKnowledge): Fix chat knowledge error (#1753)
This commit is contained in:
@@ -387,7 +387,7 @@ async def chat_completions(
|
||||
headers=headers,
|
||||
media_type="text/event-stream",
|
||||
)
|
||||
elif domain_type is not None:
|
||||
elif domain_type is not None and domain_type != "Normal":
|
||||
return StreamingResponse(
|
||||
chat_with_domain_flow(dialogue, domain_type),
|
||||
headers=headers,
|
||||
|
Reference in New Issue
Block a user