Procházet zdrojové kódy

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

tags/1.2.0
Good Wood před 6 měsíci
rodič
revize
7b7ac7a495
Žádný účet není propojen s e-mailovou adresou tvůrce revize

+ 1
- 1
web/app/components/workflow/nodes/agent/panel.tsx Zobrazit soubor

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

Načítá se…
Zrušit
Uložit