fix(固资): 优化固资查询结果

This commit is contained in:
runny committed 2026-06-10 03:54:52 +08:00
1 parent c98754e634
commit 0a647a0b79
3 files changed
+541 -37

No files matched your search

+1 -1
View File
@@ -1101,7 +1101,7 @@ def chat_completions():
from app.services.text2sql import Text2SQLService
if normalized_files:
raise ValidationError('This route does not support attachments')
generator = Text2SQLService.stream_chat(query, user_proxy.id, agent_proxy, external_conversation_id, session_id=session.session_id)
generator = Text2SQLService.stream_chat(query, user_proxy, agent_proxy, external_conversation_id, session_id=session.session_id)
else:
from app.services.hr_leave_sqlserver import HRLeaveSQLServerService
if HRLeaveSQLServerService.supports(query):