feat: agent strategy parameter add help information (#18192)

This commit is contained in:
Junjie.M
2025-04-16 17:24:09 +08:00
committed by GitHub
parent da7c8621f7
commit b7e8517b31
3 changed files with 4 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ export function strategyParamToCredientialForm(param: StrategyParamItem): Creden
variable: param.name,
show_on: [],
type: toType(param.type),
tooltip: param.help,
}
}
@@ -53,6 +54,7 @@ const AgentPanel: FC<NodePanelProps<AgentNodeType>> = (props) => {
outputSchema,
handleMemoryChange,
} = useConfig(props.id, props.data)
console.log('currentStrategy', currentStrategy)
const { t } = useTranslation()
const nodeInfo = useMemo(() => {
if (!runResult)