天气支持私聊
This commit is contained in:
@@ -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 "")
|
||||
|
||||
Reference in New Issue
Block a user