From 033b3c298d240a47315e571047b97325a2c23e48 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 28 May 2026 21:24:21 +0800 Subject: [PATCH] fix: render auto workflow options without preview images --- .../agents/AgentWorkflowPanelDarkV2.tsx | 29 +++++++++++++++---- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/components/agents/AgentWorkflowPanelDarkV2.tsx b/components/agents/AgentWorkflowPanelDarkV2.tsx index e273b9785..6b7e8214a 100644 --- a/components/agents/AgentWorkflowPanelDarkV2.tsx +++ b/components/agents/AgentWorkflowPanelDarkV2.tsx @@ -440,8 +440,8 @@ const StepOptionCard = memo(function StepOptionCard({ setPreviewFailed(false); }, [previewUrl]); const shouldLoadFast = selected || index < WORKFLOW_OPTION_PREVIEW_EAGER_COUNT; - const hasPreview = Boolean(previewUrl && !previewFailed); const isAutoConfiguredOption = /根据风格已配置/.test(option.buttonName); + const hasPreview = Boolean(previewUrl && !previewFailed && !isAutoConfiguredOption); return (