From fbc0633cd3d772ed74723445a2a6332a76f3f215 Mon Sep 17 00:00:00 2001 From: Rain-0x01_ <83620631+Rain-0x01-39@users.noreply.github.com> Date: Sun, 31 May 2026 21:54:44 +0800 Subject: [PATCH] chore: fix token terminology in zh (#8465) --- astrbot/core/config/default.py | 4 ++-- .../src/i18n/locales/zh-CN/features/config-metadata.json | 4 ++-- docs/zh/dev/star/guides/plugin-config.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index ac5801994..fefeef495 100644 --- a/astrbot/core/config/default.py +++ b/astrbot/core/config/default.py @@ -2042,8 +2042,8 @@ CONFIG_METADATA_2 = { }, "max_tokens": { "name": "Max Tokens", - "description": "最大令牌数", - "hint": "生成的最大令牌数。", + "description": "最大词元(Tokens)数", + "hint": "生成的最大词元(Tokens)数。", "type": "int", "default": 8192, }, diff --git a/dashboard/src/i18n/locales/zh-CN/features/config-metadata.json b/dashboard/src/i18n/locales/zh-CN/features/config-metadata.json index 96fdf07d7..8383b5714 100644 --- a/dashboard/src/i18n/locales/zh-CN/features/config-metadata.json +++ b/dashboard/src/i18n/locales/zh-CN/features/config-metadata.json @@ -1209,8 +1209,8 @@ "name": "Top-p" }, "max_tokens": { - "description": "最大令牌数", - "hint": "生成的最大令牌数。", + "description": "最大词元(Tokens)数", + "hint": "生成的最大词元(Tokens)数。", "name": "Max Tokens" } } diff --git a/docs/zh/dev/star/guides/plugin-config.md b/docs/zh/dev/star/guides/plugin-config.md index ff2c9d99c..4016f70ba 100644 --- a/docs/zh/dev/star/guides/plugin-config.md +++ b/docs/zh/dev/star/guides/plugin-config.md @@ -122,8 +122,8 @@ AstrBot 提供了“强大”的配置解析和可视化功能。能够让用户 }, "max_tokens": { "name": "Max Tokens", - "description": "最大令牌数", - "hint": "生成的最大令牌数。", + "description": "最大词元(Tokens)数", + "hint": "生成的最大词元(Tokens)数。", "type": "int", "default": 8192, },