Ver código fonte

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

tags/1.2.0
Good Wood 6 meses atrás
pai
commit
7b7ac7a495
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      web/app/components/workflow/nodes/agent/panel.tsx

+ 1
- 1
web/app/components/workflow/nodes/agent/panel.tsx Ver arquivo

@@ -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

Carregando…
Cancelar
Salvar