fix: compatibility issues for currentStrategy.features is null (#17581)
This commit is contained in:
parent
c8145ce581
commit
7b7ac7a495
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue