diff --git a/web/app/components/workflow/nodes/agent/panel.tsx b/web/app/components/workflow/nodes/agent/panel.tsx index 40c8338a7b..da87312a90 100644 --- a/web/app/components/workflow/nodes/agent/panel.tsx +++ b/web/app/components/workflow/nodes/agent/panel.tsx @@ -110,7 +110,7 @@ const AgentPanel: FC> = (props) => { />
- {isChatMode && currentStrategy?.features.includes(AgentFeature.HISTORY_MESSAGES) && ( + {isChatMode && currentStrategy?.features?.includes(AgentFeature.HISTORY_MESSAGES) && ( <>