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 = {
|
||||
|
||||
@@ -78,6 +78,7 @@ def build_dify_openapi_spec(base_url: str) -> dict[str, Any]:
|
||||
"create_task",
|
||||
"创建发货任务 task",
|
||||
{
|
||||
"task_id": _str_prop("已存在的发货任务编号(可选)。传入时将直接复用该任务,禁止重复创建。"),
|
||||
"user_id": _int_prop("Hxops 用户 ID(可选)"),
|
||||
"conversation_id": _str_prop("Dify 会话 ID,便于工作台关联"),
|
||||
"source_type": _str_prop("来源:manual|email|wecom|pdf", enum=["manual", "email", "wecom", "pdf"]),
|
||||
|
||||
Reference in new issue
Block a user