What is your goal?
I want the ChatGPT module to process each item from the Iterator separately, and after all iterations are complete, the Array Aggregator should merge all ChatGPT responses into one combined array.
What is the problem?
The Array Aggregator only collects the last output from the ChatGPT module instead of combining all the results from each iteration. It seems to ignore the previous iterations when placed after the loop.
What have you tried so far?
I connected the Array Aggregator both after the Iterator and after the ChatGPT module, but in both cases it only returns the last iteration’s result.
I also tried moving the modules around and using filters, but it didn’t change the behavior — the aggregator still doesn’t combine all ChatGPT outputs into one array.
