fix: compatibility issues for currentStrategy.features is null (#17581)
This commit is contained in:
@@ -110,7 +110,7 @@ const AgentPanel: FC<NodePanelProps<AgentNodeType>> = (props) => {
|
|||||||
/>
|
/>
|
||||||
</Field>
|
</Field>
|
||||||
<div className='px-4 py-2'>
|
<div className='px-4 py-2'>
|
||||||
{isChatMode && currentStrategy?.features.includes(AgentFeature.HISTORY_MESSAGES) && (
|
{isChatMode && currentStrategy?.features?.includes(AgentFeature.HISTORY_MESSAGES) && (
|
||||||
<>
|
<>
|
||||||
<Split />
|
<Split />
|
||||||
<MemoryConfig
|
<MemoryConfig
|
||||||
|
Reference in New Issue
Block a user