Skip to content

[Feature]/reset等权限问题 #1360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks done
lilinxuan1999 opened this issue Apr 20, 2025 · 2 comments · Fixed by #1362
Closed
2 tasks done

[Feature]/reset等权限问题 #1360

lilinxuan1999 opened this issue Apr 20, 2025 · 2 comments · Fixed by #1362
Assignees
Labels
enhancement New feature or request

Comments

@lilinxuan1999
Copy link

lilinxuan1999 commented Apr 20, 2025

描述

/reset命令可以在“未开启独立会话”的“群聊”里让"member"使用

使用场景

在现有版本,只有在“开启独立会话”的群聊中才能让用户使用reset命令
而/new命令,在开启了群聊内记录各群员对话后无法清除对话,依然会读到上下文的要求,而如果要关闭记录群聊功能的话,那倒不如直接开启 会话隔离 功能了
我希望可以既记录群聊记录,又可以让普通用户直接使用reset或者new来清除对话记录,(我大概有200个群使用AI,因此要一个个给op的话也很麻烦)
如果开启会话隔离,又无法读取群聊上下文给出回答

总之,希望可以使得/reset命令或/del命令可以在“未开启独立会话”的“群聊”里让"member"使用。
或者有其他办法实现也可以

你愿意提交PR吗?

  • 是的, 我愿意提交PR!

Code of Conduct

@lilinxuan1999 lilinxuan1999 added the enhancement New feature or request label Apr 20, 2025
@anka-afk
Copy link
Member

使用命令/alter_cmd reset member 即可设置命令权限

@anka-afk anka-afk self-assigned this Apr 21, 2025
@lilinxuan1999
Copy link
Author

使用命令/alter_cmd reset member 即可设置命令权限

没用,你可以自己试一下,在没有开启会话隔离的情况下,用alter cmd命令设置了权限也无法生效,因为他除了检测权限之外,还会检测是否位于群聊是否开启会话隔离

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants