Feat: Allow operators inside the loop operator to reference the output parameters of external operators #3221 (#8498)

### What problem does this PR solve?

Feat: Allow operators inside the loop operator to reference the output
parameters of external operators #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-06-26 09:34:38 +08:00
committed by GitHub
parent c4bfd9fa2c
commit f09ca8e795
6 changed files with 50 additions and 27 deletions

View File

@ -1,22 +0,0 @@
import { Output, OutputType } from '@/pages/agent/form/components/output';
import { initialIterationStartValues } from '../../constant';
const outputs = initialIterationStartValues.outputs;
const outputList = Object.entries(outputs).reduce<OutputType[]>(
(pre, [key, value]) => {
pre.push({ title: key, type: value.type });
return pre;
},
[],
);
const IterationStartForm = () => {
return (
<section className="space-y-6 p-4">
<Output list={outputList}></Output>
</section>
);
};
export default IterationStartForm;