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}
))}