From 1646547cb432ad74fd7d2f20135f2091d86f1813 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Tue, 13 Jan 2026 19:34:07 +0800 Subject: [PATCH] fix --- astrbot/core/config/default.py | 8 ++++---- .../src/i18n/locales/en-US/features/config-metadata.json | 6 +++--- .../src/i18n/locales/zh-CN/features/config-metadata.json | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index 4ff53be6d..c273918f6 100644 --- a/astrbot/core/config/default.py +++ b/astrbot/core/config/default.py @@ -117,7 +117,7 @@ DEFAULT_CONFIG = { "enable": False, "booter": "shipyard", "shipyard_endpoint": "", - "shipyard_access_token": {}, + "shipyard_access_token": "", }, }, "provider_stt_settings": { @@ -2572,10 +2572,10 @@ CONFIG_METADATA_3 = { }, "_special": "check_shipyard_connection" }, - "provider_settings.sandbox.shipyard_api_key": { - "description": "Shipyard API Key", + "provider_settings.sandbox.shipyard_access_token": { + "description": "Shipyard Access Token", "type": "string", - "hint": "用于访问 Shipyard 服务的 API 密钥。", + "hint": "用于访问 Shipyard 服务的访问令牌。", "condition": { "provider_settings.sandbox.enable": True, "provider_settings.sandbox.booter": "shipyard", diff --git a/dashboard/src/i18n/locales/en-US/features/config-metadata.json b/dashboard/src/i18n/locales/en-US/features/config-metadata.json index fff27d9a4..3da2d849d 100644 --- a/dashboard/src/i18n/locales/en-US/features/config-metadata.json +++ b/dashboard/src/i18n/locales/en-US/features/config-metadata.json @@ -148,9 +148,9 @@ "description": "Shipyard API Endpoint", "hint": "API access address for Shipyard service." }, - "shipyard_api_key": { - "description": "Shipyard API Key", - "hint": "API key for accessing Shipyard service." + "shipyard_access_token": { + "description": "Shipyard Access Token", + "hint": "Access token for accessing Shipyard service." } } } 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 3622affa2..a7014cb67 100644 --- a/dashboard/src/i18n/locales/zh-CN/features/config-metadata.json +++ b/dashboard/src/i18n/locales/zh-CN/features/config-metadata.json @@ -148,9 +148,9 @@ "description": "Shipyard API Endpoint", "hint": "Shipyard 服务的 API 访问地址。" }, - "shipyard_api_key": { - "description": "Shipyard API Key", - "hint": "用于访问 Shipyard 服务的 API 密钥。" + "shipyard_access_token": { + "description": "Shipyard 访问令牌", + "hint": "用于访问 Shipyard 服务的访问令牌。" } } }