From fd734ab75a0856eddf803352367a7c61a1cf406b Mon Sep 17 00:00:00 2001 From: xuyonghao <898441624@qq.com> Date: 星期五, 10 一月 2025 13:33:54 +0800 Subject: [PATCH] 用户组成员管理排除删除掉的用户,修改excel下载文件名 --- app/service/difyService.py | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/service/difyService.py b/app/service/difyService.py index 97de46b..3c67d09 100644 --- a/app/service/difyService.py +++ b/app/service/difyService.py @@ -127,11 +127,10 @@ - async def chat(self, token: str, user_id: int, message: str, files: [], conversation_id: str): - + async def chat(self, token: str, user_id: int, message: str, files: [], conversation_id: str, inputs: dict): target_url = f"{self.base_url}/v1/chat-messages" data = { - "inputs": {}, + "inputs": inputs, "query": message, "response_mode": "streaming", "conversation_id": conversation_id, -- Gitblit v1.8.0