天气支持私聊

This commit is contained in:
liuwei
2025-05-26 11:16:23 +08:00
parent 4a5d7f09ea
commit cebc117efb

View File

@@ -158,7 +158,7 @@ class DifyPlugin(MessagePluginInterface):
return False, "未获取到回复"
except Exception as e:
self.LOG.error(f"处理Dify聊天请求出错: {e}")
self.LOG.exception(f"处理Dify聊天请求出错: {e}")
client_msg_id, create_time, new_msg_id = await bot.send_text_message((roomid if roomid else sender),
"❌未能获取到回复,请稍后再试",
sender)
@@ -218,7 +218,7 @@ class DifyPlugin(MessagePluginInterface):
return False, "未获取到回复"
except Exception as e:
self.LOG.error(f"处理Dify聊天请求出错: {e}")
self.LOG.exception(f"处理Dify聊天请求出错: {e}")
client_msg_id, create_time, new_msg_id = await bot.send_text_message((roomid if roomid else sender),
f"❌请求出错:{str(e)}",
sender if roomid else "")