import type { FC } from 'react' import type { NodeProps } from '../../types' import type { AgentNodeType } from './types' import { SettingItem } from '../_base/components/setting-item' import ModelSelector from '@/app/components/header/account-setting/model-provider-page/model-selector' import { Group, GroupLabel } from '../_base/components/group' import { ToolIcon } from './components/tool-icon' import useConfig from './use-config' import { useTranslation } from 'react-i18next' const AgentNode: FC> = (props) => { const { inputs } = useConfig(props.id, props.data) const { t } = useTranslation() return
{inputs.agent_strategy_name ? {inputs.agent_strategy_name} : } {t('workflow.nodes.agent.model')} } > {t('workflow.nodes.agent.toolbox')} }>
} export default AgentNode