From e22814b2918ead14ed1a34d2fd312c0907c6306d Mon Sep 17 00:00:00 2001 From: zxhlyh Date: Wed, 14 Jun 2023 14:23:41 +0800 Subject: [PATCH] fix application model selector style (#360) --- .../components/app/configuration/config-model/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/app/components/app/configuration/config-model/index.tsx b/web/app/components/app/configuration/config-model/index.tsx index 15a3754e1d..2a69aa3d23 100644 --- a/web/app/components/app/configuration/config-model/index.tsx +++ b/web/app/components/app/configuration/config-model/index.tsx @@ -97,7 +97,7 @@ const ConifgModel: FC = ({ key: 'max_tokens', tip: t('common.model.params.maxTokenTip'), step: 100, - max: modelId === 'gpt-4' ? 8000 : 4000, + max: (modelId === 'gpt-4' || modelId === 'gpt-3.5-turbo-16k') ? 8000 : 4000, }, ] @@ -215,11 +215,11 @@ const ConifgModel: FC = ({ {!selectModelDisabled && } {isShowOption && ( -
+
{availableModels.map(item => (
- -
{item.name}
+ +
{item.name}
))}