|
|
|
|
@ -73,7 +73,7 @@ const AgentNode: FC<NodeProps<AgentNodeType>> = (props) => {
|
|
|
|
|
{inputs.agent_strategy_label}
|
|
|
|
|
</SettingItem>
|
|
|
|
|
: <SettingItem label={t('workflow.nodes.agent.strategyNotSet')} />}
|
|
|
|
|
{models.length && <Group
|
|
|
|
|
{models.length > 0 && <Group
|
|
|
|
|
label={<GroupLabel className='mt-1'>
|
|
|
|
|
{t('workflow.nodes.agent.model')}
|
|
|
|
|
</GroupLabel>}
|
|
|
|
|
@ -93,13 +93,13 @@ const AgentNode: FC<NodeProps<AgentNodeType>> = (props) => {
|
|
|
|
|
/>
|
|
|
|
|
})}
|
|
|
|
|
</Group>}
|
|
|
|
|
<Group label={<GroupLabel className='mt-1'>
|
|
|
|
|
{tools.length > 0 && <Group label={<GroupLabel className='mt-1'>
|
|
|
|
|
{t('workflow.nodes.agent.toolbox')}
|
|
|
|
|
</GroupLabel>}>
|
|
|
|
|
<div className='grid grid-cols-10 gap-0.5'>
|
|
|
|
|
{tools.map(tool => <ToolIcon {...tool} key={Math.random()} />)}
|
|
|
|
|
</div>
|
|
|
|
|
</Group>
|
|
|
|
|
</Group>}
|
|
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|