Parcourir la source

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

tags/1.2.0
Good Wood il y a 6 mois
Parent
révision
7b7ac7a495
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      web/app/components/workflow/nodes/agent/panel.tsx

+ 1
- 1
web/app/components/workflow/nodes/agent/panel.tsx Voir le fichier

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

Chargement…
Annuler
Enregistrer