mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-24 07:26:47 +08:00
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:
@ -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;
|
||||
Reference in New Issue
Block a user