chore: add tooltip props to agent strategy select

This commit is contained in:
AkaraChen 2025-01-09 14:52:59 +08:00
parent a87c2d7e20
commit 0ad08f523b

View File

@ -73,7 +73,7 @@ const AgentPanel: FC<NodePanelProps<AgentNodeType>> = (props) => {
})() })()
return <div className='my-2'> return <div className='my-2'>
<Field title={t('workflow.nodes.agent.strategy.label')} className='px-4 py-2' > <Field title={t('workflow.nodes.agent.strategy.label')} className='px-4 py-2' tooltip={t('workflow.nodes.agent.strategy.tooltip')} >
<AgentStrategy <AgentStrategy
strategy={inputs.agent_strategy_name ? { strategy={inputs.agent_strategy_name ? {
agent_strategy_provider_name: inputs.agent_strategy_provider_name!, agent_strategy_provider_name: inputs.agent_strategy_provider_name!,