Fix ChatWithDbQA param validate (#2569)

Co-authored-by: alan.cl <alan.cl@antgroup.com>
This commit is contained in:
alanchen
2025-04-03 09:49:48 +08:00
committed by GitHub
parent e7b23f6425
commit 5dbfb24a86
3 changed files with 10 additions and 4 deletions

View File

@@ -1391,7 +1391,7 @@ def adapt_native_app_model(dialogue: ConversationVo):
ChatScene.ChatWithDbQA.value(),
ChatScene.ChatWithDbExecute.value(),
ChatScene.ChatDashboard.value(),
ChatScene.ChatNormal.value,
ChatScene.ChatNormal.value(),
]:
return dialogue
gpts_dao = GptsAppDao()