diff --git a/web/app/components/plugins/plugin-detail-panel/tool-selector/reasoning-config-form.tsx b/web/app/components/plugins/plugin-detail-panel/tool-selector/reasoning-config-form.tsx index 346cb06f93..bf561ad5f8 100644 --- a/web/app/components/plugins/plugin-detail-panel/tool-selector/reasoning-config-form.tsx +++ b/web/app/components/plugins/plugin-detail-panel/tool-selector/reasoning-config-form.tsx @@ -153,7 +153,7 @@ const ReasoningConfigForm: React.FC = ({ placeholder, options, } = schema - const canUseAuto = type !== FormTypeEnum.modelSelector + const canUseAuto = ![FormTypeEnum.modelSelector, FormTypeEnum.appSelector].includes(type) const auto = canUseAuto ? value[variable]?.auto : 0 const tooltipContent = (tooltip && ( = ({ scope = 'all' }) => { const fields = schemas.map(schema => ({ id: schema.variable, value: schema.default ?? null, - auto: ![FormTypeEnum.modelSelector, FormTypeEnum.appSelector].includes(schema.type as FormTypeEnum), // llm can not determine auto for these types + auto: schema.form === 'llm', })) nextTools[configId] = { type: tool.provider_type, // === CollectionType.mcp ? 'mcp' : 'builtin'