Newbie to N8N and running into an issue that I’m unable to resolve. I have a chat trigger that feeds into two different AI agents each running a different LLM. The idea is to take the best of each response into a combined response. To do this I merge the responses, and then merge it again with the initial query. This combined data stream is then fed to a third AI agent which is told that the issue to solve comes from the initial query and it should review the two action plans and synthesize a combined plan with the best features, That’s the goal.
Unfortunately what happens is the third AI Agent gets passed a json or table of three things and it acts on each of them independently instead of considering them all together. I can’t seem to fix this, I’ve tried multiple variations of the merge settings. Tried adding an aggregator after the merge, tried changing the prompt instructions for the third AI agent, tried adding memory to the third AI agent. None of it has seemed to help. Is there something obvious I am missing?