From eb92dd59f9fa893dd630f92e3db8156146a95810 Mon Sep 17 00:00:00 2001 From: Joel Date: Sun, 27 Apr 2025 18:30:45 +0800 Subject: [PATCH] chore: disabled struct output not show model not support warning (#18909) --- web/app/components/workflow/nodes/llm/panel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/workflow/nodes/llm/panel.tsx b/web/app/components/workflow/nodes/llm/panel.tsx index d595933aad..29fb4fb2c3 100644 --- a/web/app/components/workflow/nodes/llm/panel.tsx +++ b/web/app/components/workflow/nodes/llm/panel.tsx @@ -296,7 +296,7 @@ const Panel: FC> = ({ onCollapse={setStructuredOutputCollapsed} operations={
- {!isModelSupportStructuredOutput && ( + {(!isModelSupportStructuredOutput && !!inputs.structured_output_enabled) && (
{t('app.structOutput.modelNotSupported')}