Merge branch 'dev' into hugo

This commit is contained in:
hugo committed 2026-05-18 14:55:59 +08:00
commit 3d4b2647ae
21 files changed
+491 -158

No files matched your search

+4 -1
View File
@@ -604,8 +604,11 @@ def chat_completions():
return jsonify({'error': 'Missing user or agent context'}), 500
from app.services.dify import DifyService
from app.services.plm_oracle import PLMOracleService
if kb_type == 'ERP知识库':
if PLMOracleService.supports(query, agent):
generator = PLMOracleService.stream_chat(query, user, agent, conversation_id)
elif kb_type == 'ERP知识库':
from app.services.hr_leave_sqlserver import HRLeaveSQLServerService
from app.services.text2sql import Text2SQLService