Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
feat: frontend remove gpt4 check (#815)
Joel7457550673ca
diff --git a/web/app/components/app/configuration/config-model/index.tsx b/web/app/components/app/configuration/config-model/index.tsxindex 1649592d1fd..a8d27f24e97 100644--- a/web/app/components/app/configuration/config-model/index.tsx+++ b/web/app/components/app/configuration/config-model/index.tsx@@ -34,20 +34,15 @@ export type IConfigModelProps = {completionParams: CompletionParamsonCompletionParamsChange: (newParams: CompletionParams) => voiddisabled: boolean- canUseGPT4: boolean- onShowUseGPT4Confirm: () => void}const ConfigModel: FC<IConfigModelProps> = ({- // mode,modelId,provider,setModelId,completionParams,onCompletionParamsChange,disabled,- canUseGPT4,- onShowUseGPT4Confirm,}) => {const { t } = useTranslation()const { textGenerationModelList } = useProviderContext()@@ -122,11 +117,6 @@ const ConfigModel: FC<IConfigModelProps> = ({const handleSelectModel = (id: string, nextProvider = ProviderEnum.openai) => {return async () => {- if (id === 'gpt-4' && !canUseGPT4) {- hideConfig()- onShowUseGPT4Confirm()- return- }const prevParamsRule = getAllParams()[provider]?.[modelId]setModelId(id, nextProvider)diff --git a/web/app/components/app/configuration/index.tsx b/web/app/components/app/configuration/index.tsxindex 0d2363b9a66..5f85878a780 100644--- a/web/app/components/app/configuration/index.tsx+++ b/web/app/components/app/configuration/index.tsx@@ -292,10 +292,6 @@ const Configuration: FC = () => {setCompletionParams(newParams)}}disabled={!hasSetAPIKEY}- canUseGPT4={hasSetCustomAPIKEY}- onShowUseGPT4Confirm={() => {- setShowUseGPT4Confirm(true)- }}/><div className='mx-3 w-[1px] h-[14px] bg-gray-200'></div><Button onClick={() => setShowConfirm(true)} className='shrink-0 mr-2 w-[70px] !h-8 !text-[13px] font-medium'>{t('appDebug.operation.resetConfig')}</Button>