From 1297a6b5854e469944aa7ec4fd2a0e154e52cd81 Mon Sep 17 00:00:00 2001 From: liuwei Date: Tue, 27 May 2025 16:42:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E5=B9=BF=E5=91=8A=E5=86=85?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/dify/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/dify/main.py b/plugins/dify/main.py index fbb45a7..c70a67b 100644 --- a/plugins/dify/main.py +++ b/plugins/dify/main.py @@ -204,7 +204,9 @@ class DifyPlugin(MessagePluginInterface): # 调用Dify API获取回复 response = self._chat_with_dify(session_id, user_id, query) # 去除广告内容 + self.LOG.debug(f"_chat_with_dify response:{response}") response = remove_trailing_content(response) + self.LOG.debug(f"remove_trailing_content response:{response}") # 发送回复 if response: # 判断是否为本地文件路径