feat: select strategy

This commit is contained in:
AkaraChen
2024-12-26 10:16:52 +08:00
parent e1ea82475d
commit 8dcd82290c
6 changed files with 65 additions and 56 deletions

View File

@ -17,10 +17,10 @@ const AgentNode: FC<NodeProps<AgentNodeType>> = (props) => {
label={t('workflow.nodes.agent.strategy.shortLabel')}
status='error'
tooltip={t('workflow.nodes.agent.strategyNotInstallTooltip', {
strategy: inputs.agent_strategy_name,
strategy: inputs.agent_strategy_label,
})}
>
{inputs.agent_strategy_name}
{inputs.agent_strategy_label}
</SettingItem>
: <SettingItem label={t('workflow.nodes.agent.strategyNotSet')} />}
<Group