diff --git a/web/app/components/app/configuration/config-model/index.tsx b/web/app/components/app/configuration/config-model/index.tsx index a4f7b6a636..b0a63f70f9 100644 --- a/web/app/components/app/configuration/config-model/index.tsx +++ b/web/app/components/app/configuration/config-model/index.tsx @@ -29,6 +29,7 @@ const options = [ { id: 'gpt-4', name: 'gpt-4', type: AppType.chat }, // 8k version { id: 'gpt-3.5-turbo', name: 'gpt-3.5-turbo', type: AppType.completion }, { id: 'text-davinci-003', name: 'text-davinci-003', type: AppType.completion }, + { id: 'gpt-4', name: 'gpt-4', type: AppType.completion }, // 8k version ] const ModelIcon = ({ className }: { className?: string }) => ( @@ -205,14 +206,14 @@ const ConifgModel: FC = ({
{t('appDebug.modelConfig.model')}
{/* model selector */} -
+
!selectModelDisabled && toogleOption()} className={cn(selectModelDisabled ? 'cursor-not-allowed' : 'cursor-pointer', "flex items-center h-9 px-3 space-x-2 rounded-lg bg-gray-50 ")}>
{selectedModel?.name}
{!selectModelDisabled && }
{isShowOption && ( -
+
{availableModels.map(item => (