Skip to content

Commit df0999c

Browse files
committed
fix: 将 disable_metrics 移到系统配置
1 parent c22a1c9 commit df0999c

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

dashboard/src/i18n/locales/en-US/features/config-metadata.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -790,10 +790,6 @@
790790
"disable_builtin_commands": {
791791
"description": "Disable Built-in Commands",
792792
"hint": "Disable all built-in AstrBot commands such as help, provider, model, etc."
793-
},
794-
"disable_metrics": {
795-
"description": "Disable Anonymous Usage Statistics",
796-
"hint": "When disabled, AstrBot will not upload anonymous usage statistics."
797793
}
798794
},
799795
"whitelist": {
@@ -1087,6 +1083,10 @@
10871083
"description": "Externally Accessible Callback API Address",
10881084
"hint": "External services may access AstrBot's backend through callback links generated by AstrBot (such as file download links). Since AstrBot cannot automatically determine the externally accessible host address in the deployment environment, this configuration item is needed to explicitly specify how external services should access AstrBot's address. Examples: [http://localhost:6185](http://localhost:6185), [https://example.com](https://example.com), etc."
10891085
},
1086+
"disable_metrics": {
1087+
"description": "Disable Anonymous Usage Statistics",
1088+
"hint": "When disabled, AstrBot will not upload anonymous usage statistics."
1089+
},
10901090
"dashboard": {
10911091
"ssl": {
10921092
"enable": {

dashboard/src/i18n/locales/ru-RU/features/config-metadata.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -791,10 +791,6 @@
791791
"disable_builtin_commands": {
792792
"description": "Отключить встроенные команды",
793793
"hint": "Отключает help, provider, model и другие базовые команды."
794-
},
795-
"disable_metrics": {
796-
"description": "Отключить анонимную статистику",
797-
"hint": "После отключения AstrBot не будет отправлять анонимные данные об использовании."
798794
}
799795
},
800796
"whitelist": {
@@ -1088,6 +1084,10 @@
10881084
"description": "Внешний адрес для Callback API",
10891085
"hint": "Используется для сервисов, требующих обратных выливов (например, в песочнице)."
10901086
},
1087+
"disable_metrics": {
1088+
"description": "Отключить анонимную статистику",
1089+
"hint": "После отключения AstrBot не будет отправлять анонимные данные об использовании."
1090+
},
10911091
"dashboard": {
10921092
"ssl": {
10931093
"enable": {

dashboard/src/i18n/locales/zh-CN/features/config-metadata.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -792,10 +792,6 @@
792792
"disable_builtin_commands": {
793793
"description": "禁用自带指令",
794794
"hint": "禁用所有 AstrBot 自带指令,如 help, provider, model 等"
795-
},
796-
"disable_metrics": {
797-
"description": "禁用匿名使用统计",
798-
"hint": "禁用后,AstrBot 将不再上传匿名使用统计数据。"
799795
}
800796
},
801797
"whitelist": {
@@ -1089,6 +1085,10 @@
10891085
"description": "对外可达的回调接口地址",
10901086
"hint": "外部服务可能会通过 AstrBot 生成的回调链接(如文件下载链接)访问 AstrBot 后端。由于 AstrBot 无法自动判断部署环境中对外可达的主机地址(host),因此需要通过此配置项显式指定外部服务如何访问 AstrBot 的地址。如 [http://localhost:6185](http://localhost:6185),[https://example.com](https://example.com) 等。"
10911087
},
1088+
"disable_metrics": {
1089+
"description": "禁用匿名使用统计",
1090+
"hint": "禁用后,AstrBot 将不再上传匿名使用统计数据。"
1091+
},
10921092
"dashboard": {
10931093
"ssl": {
10941094
"enable": {

0 commit comments

Comments
 (0)