mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-20 19:09:24 +00:00
fix(ChatKnowledge): Fix chat knowledge error (#1753)
This commit is contained in:
parent
167d972093
commit
55c8b39e2e
@ -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,
|
||||
|
@ -15,3 +15,4 @@ pre-commit
|
||||
# Type checking
|
||||
mypy==1.7.0
|
||||
httpx
|
||||
vcrpy<6.0.0
|
Loading…
Reference in New Issue
Block a user