新增对群聊黑白名单和启禁用私聊的功能,添加对全局回复模式、语音角色和主动打招呼的指令配置。 (#341)

* feat: add support for ‘greeting’ and ‘global reply mode’ commands, improve variable naming and remove unnecessary backend output.

* feat: Add support for black and white lists, global reply mode and voice role settings, private chat switch, and active greeting configuration. Refactor some variable names and comment out redundant code for better readability and reduced backend output.

* feat: 为新功能完善了帮助面板

* docs: 完善了‘打招呼’的帮助说明

* feature:Add custom configuration for voice filtering regex.

---------

Co-authored-by: Sean <1519059137@qq.com>
This commit is contained in:
Sean Murphy 2023-04-13 22:36:58 +08:00 committed by GitHub
parent 11a62097f0
commit 4b29e261a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 1190 additions and 802 deletions

View file

@ -57,6 +57,8 @@
"initiativeChatGroups": [],
"enableDraw": true,
"helloPrompt": "写一段话让大家来找我聊天。类似于“有人找我聊天吗“这种风格轻松随意一点控制在20个字以内",
"helloInterval": 3,
"helloProbability": 50,
"chatglmBaseUrl": "http://localhost:8080",
"allowOtherMode": true,
"sydneyContext": "",
@ -66,5 +68,9 @@
"enableRobotAt": true,
"maxNumUserMessagesInConversation": 20,
"sydneyApologyIgnored": true,
"enforceMaster": false
"enforceMaster": false,
"enablePrivateChat": false,
"groupWhitelist": [],
"groupBlacklist": [],
"ttsRegex": "/匹配规则/匹配模式"
}