Skip to content

Commit 90c8c9a

Browse files
committed
docs: 补充配置升级 Hook 约束
1 parent d43ecab commit 90c8c9a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242

4343
# 配置文件修改
4444
如果你需要改动配置文件,不需要修改实际的bot_config.toml或者model_config.toml,只需要修改配置文件模版,并新增一个版本号即可,也不必要为配置改动创建测试文件。
45+
除非明确说明,否则不要擅自新增 ConfigUpgradeHook
4546

4647
# Webui规范
4748
涉及显示聊天流信息的,优先显示聊天流实际名称(群名称或 xxx的私聊),而不是session_id

0 commit comments

Comments
 (0)