File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/routes/page/agent/[agentId]/agent-components Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 7575 return {
7676 name: x .trigger_name ,
7777 displayName: " " ,
78+ output_args: x .output_args ,
7879 json_args: x .json_args
7980 };
8081 }) || [];
195196 save_to_db: true ,
196197 script_name: ` ${ rule .trigger_name } _rule.py` ,
197198 script_type: AgentCodeScriptType .Src ,
199+ data: {
200+ ' rule_args' : { ... rule .output_args }
201+ }
198202 // to do:
199203 // agent_id: agent.id,
200204 // template_name: "rule"
233237 const found = ruleOptions .find (y => y .name === x .trigger_name );
234238 return {
235239 ... x,
240+ output_args: found? .output_args ,
236241 json_args: found? .json_args
237242 }
238243 }) || [];
363368 id= {` rule-${ uid} ` }
364369 data- bs- toggle= " tooltip"
365370 data- bs- placement= " top"
366- title= " Output arguments"
371+ title= " Rule arguments"
367372 / >
368373 < BotsharpTooltip
369374 containerClasses= " agent-utility-desc"
You can’t perform that action at this time.
0 commit comments