Skip to content

Commit 2f9b94d

Browse files
committed
fix: 将 disable_metrics 元数据从 general 移到 system 分组
1 parent df0999c commit 2f9b94d

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

astrbot/core/config/default.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2943,6 +2943,11 @@ class ChatProviderTemplate(TypedDict):
29432943
"callback_api_base": {
29442944
"type": "string",
29452945
},
2946+
"disable_metrics": {
2947+
"description": "禁用匿名使用统计",
2948+
"type": "bool",
2949+
"hint": "禁用后,AstrBot 将不再上传匿名使用统计数据。",
2950+
},
29462951
"log_level": {
29472952
"type": "string",
29482953
"options": ["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"],
@@ -3821,11 +3826,6 @@ class ChatProviderTemplate(TypedDict):
38213826
"type": "bool",
38223827
"hint": "禁用所有 AstrBot 的自带指令,如 help, provider, model 等。",
38233828
},
3824-
"disable_metrics": {
3825-
"description": "禁用匿名使用统计",
3826-
"type": "bool",
3827-
"hint": "禁用后,AstrBot 将不再上传匿名使用统计数据。",
3828-
},
38293829
},
38303830
},
38313831
"whitelist": {

0 commit comments

Comments
 (0)