瀏覽代碼

fix: compatibility issues for currentStrategy.features is null (#17581)

tags/1.2.0
Good Wood 6 月之前
父節點
當前提交
7b7ac7a495
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      web/app/components/workflow/nodes/agent/panel.tsx

+ 1
- 1
web/app/components/workflow/nodes/agent/panel.tsx 查看文件

@@ -110,7 +110,7 @@ const AgentPanel: FC<NodePanelProps<AgentNodeType>> = (props) => {
/>
</Field>
<div className='px-4 py-2'>
{isChatMode && currentStrategy?.features.includes(AgentFeature.HISTORY_MESSAGES) && (
{isChatMode && currentStrategy?.features?.includes(AgentFeature.HISTORY_MESSAGES) && (
<>
<Split />
<MemoryConfig

Loading…
取消
儲存