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
fix: model parameter load presets config (#2622)
zxhlyh7beff3fd5a6a
diff --git a/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/parameter-item.tsx b/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/parameter-item.tsxindex 6b383108c2c..80bfd7dbab9 100644--- a/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/parameter-item.tsx+++ b/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/parameter-item.tsx@@ -115,6 +115,11 @@ const ParameterItem: FC<ParameterItemProps> = ({}}+ useEffect(() => {+ if ((parameterRule.type === 'int' || parameterRule.type === 'float') && numberInputRef.current)+ numberInputRef.current.value = `${renderValue}`+ }, [value])+const renderInput = () => {const numberInputWithSlide = (parameterRule.type === 'int' || parameterRule.type === 'float')&& !isNullOrUndefined(parameterRule.min)@@ -207,11 +212,6 @@ const ParameterItem: FC<ParameterItemProps> = ({return null}- useEffect(() => {- if (numberInputRef.current)- numberInputRef.current.value = `${renderValue}`- }, [])-return (<div className={`flex items-center justify-between ${className}`}><div>