如果是AI对话,1对1 去除@
This commit is contained in:
@@ -124,7 +124,7 @@ class DifyPlugin(MessagePluginInterface):
|
|||||||
if roomid and gbm.get_group_permission(roomid, Feature.AI_CAPABILITY) == PermissionStatus.DISABLED:
|
if roomid and gbm.get_group_permission(roomid, Feature.AI_CAPABILITY) == PermissionStatus.DISABLED:
|
||||||
return False, "没有权限"
|
return False, "没有权限"
|
||||||
|
|
||||||
self.message_util.send_text_msg("⏳AI 正在加油,请稍候… 😊", (roomid if roomid else sender), sender)
|
self.message_util.send_text_msg("⏳AI 正在加油,请稍候… 😊", (roomid if roomid else sender), sender if roomid else "")
|
||||||
# 获取查询内容
|
# 获取查询内容
|
||||||
query = parts[1].strip()
|
query = parts[1].strip()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user