From 3395297c3e716f42dab4046a05b737c97cda775a Mon Sep 17 00:00:00 2001 From: Joel Date: Tue, 28 Oct 2025 13:58:31 +0800 Subject: [PATCH] chore: warning messages too long in model config caused ui issue (#27542) --- .../account-setting/model-provider-page/index.tsx | 2 +- .../model-auth/config-provider.tsx | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/web/app/components/header/account-setting/model-provider-page/index.tsx b/web/app/components/header/account-setting/model-provider-page/index.tsx index 35de29185f..239c462ffe 100644 --- a/web/app/components/header/account-setting/model-provider-page/index.tsx +++ b/web/app/components/header/account-setting/model-provider-page/index.tsx @@ -93,7 +93,7 @@ const ModelProviderPage = ({ searchText }: Props) => { {defaultModelNotConfigured && (
- {t('common.modelProvider.notConfigured')} + {t('common.modelProvider.notConfigured')}
)} { + const text = hasCredential ? t('common.operation.config') : t('common.operation.setup') const Item = ( ) if (notAllowCustomCredential && !hasCredential) {