mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 15:29:03 +08:00
fix: compatibility issues for currentStrategy.features is null (#17581)
This commit is contained in:
parent
c8145ce581
commit
7b7ac7a495
@ -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…
x
Reference in New Issue
Block a user