fix(shipping-notice): 优化发货通知Agent相关逻辑并修复问题
This commit is contained in:
1 parent
ee90b66ff7
commit
c974566c34
5 files changed
+11
-6
No files matched your search
@@ -1103,7 +1103,6 @@ def chat_completions():
|
||||
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)
|
||||
else:
|
||||
<<<<<<< HEAD
|
||||
from app.services.hr_leave_sqlserver import HRLeaveSQLServerService
|
||||
if HRLeaveSQLServerService.supports(query):
|
||||
if normalized_files:
|
||||
@@ -1124,9 +1123,6 @@ def chat_completions():
|
||||
files=normalized_files,
|
||||
inputs=dify_inputs,
|
||||
)
|
||||
=======
|
||||
generator = DifyService.stream_chat(query, user_proxy.id, agent_proxy, external_conversation_id, request_id=request_id, session_id=session.session_id, files=normalized_files)
|
||||
>>>>>>> dev
|
||||
|
||||
def relay_stream():
|
||||
created_event = {
|
||||
|
||||
Reference in new issue
Block a user