Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
feat: agent strategy parameter add help information (#18192)
Junjie.Mb7e8517b31e6
diff --git a/api/core/agent/plugin_entities.py b/api/core/agent/plugin_entities.pyindex 6cf3975333e..9c722baa23c 100644--- a/api/core/agent/plugin_entities.py+++ b/api/core/agent/plugin_entities.py@@ -52,6 +52,7 @@ class AgentStrategyParameter(PluginParameter):return cast_parameter_value(self, value)type: AgentStrategyParameterType = Field(..., description="The type of the parameter")+ help: Optional[I18nObject] = Nonedef init_frontend_parameter(self, value: Any):return init_frontend_parameter(self, self.type, value)diff --git a/web/app/components/plugins/types.ts b/web/app/components/plugins/types.tsindex 6c42e501230..5ed05d45233 100644--- a/web/app/components/plugins/types.ts+++ b/web/app/components/plugins/types.ts@@ -406,8 +406,7 @@ export type VersionProps = {export type StrategyParamItem = {name: stringlabel: Record<Locale, string>- human_description: Record<Locale, string>- llm_description: string+ help: Record<Locale, string>placeholder: Record<Locale, string>type: stringscope: stringdiff --git a/web/app/components/workflow/nodes/agent/panel.tsx b/web/app/components/workflow/nodes/agent/panel.tsxindex da87312a90e..6a80728d91d 100644--- a/web/app/components/workflow/nodes/agent/panel.tsx+++ b/web/app/components/workflow/nodes/agent/panel.tsx@@ -27,6 +27,7 @@ export function strategyParamToCredientialForm(param: StrategyParamItem): Credenvariable: 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)