diff --git a/web/app/components/workflow/nodes/_base/components/agent-strategy.tsx b/web/app/components/workflow/nodes/_base/components/agent-strategy.tsx index ab1500cbfa..9523ee32b5 100644 --- a/web/app/components/workflow/nodes/_base/components/agent-strategy.tsx +++ b/web/app/components/workflow/nodes/_base/components/agent-strategy.tsx @@ -29,7 +29,7 @@ export type AgentStrategyProps = { type CustomSchema = Omit & { type: Type } & Field type MaxIterFormSchema = CustomSchema<'max-iter'> -type ToolSelectorSchema = CustomSchema<'tool-selector'> +type ToolSelectorSchema = CustomSchema<'array[tools]'> type CustomField = MaxIterFormSchema | ToolSelectorSchema @@ -61,6 +61,11 @@ export const AgentStrategy = (props: AgentStrategyProps) => { } + case 'array[tools]': { + return + tool selector + + } } } console.log(formSchema)