I have a multi-agent workflow. The way that it’s supposed to work is that the supervisor agent is given a task that can be broken down and done by four individual worker agents. The supervisor and each worker are linked to the GPT OSS via Ollama and each have Simple Memory. The issue that I’m running into is that when I trigger the supervisor via chat, it sends the first task, “planning” to the first worker, which then sends the completed tasks back to the supervisor and the supervisor then thinks about the task for a while and then the workflow fails with a “fetch failed”. I’ve googled and read through the docs and have not been able to find anything; any help on this would be greatly appreciated.
Here are some details:
Node type: @n8n/n8n-nodes-langchain.agent
Node version: 2.2 (Latest)
n8n version: 1.110.1 (Self Hosted)
Stack trace:
NodeOperationError: fetch failed at C:\Users\MyUser\AppData\Roaming\npm\node_modules\n8n\node_modules@n8n\n8n-nodes-langchain\nodes\agents\Agent\agents\ToolsAgent\V2\execute.ts:305:12 at Array.forEach () at ExecuteContext.toolsAgentExecute (C:\Users\MyUser\AppData\Roaming\npm\node_modules\n8n\node_modules@n8n\n8n-nodes-langchain\nodes\agents\Agent\agents\ToolsAgent\V2\execute.ts:294:16) at ExecuteContext.execute (C:\Users\MyUser\AppData\Roaming\npm\node_modules\n8n\node_modules@n8n\n8n-nodes-langchain\nodes\agents\Agent\V2\AgentV2.node.ts:131:10) at WorkflowExecute.executeNode (C:\Users\MyUser\AppData\Roaming\npm\node_modules\n8n\node_modules\n8n-core\src\execution-engine\workflow-execute.ts:1254:8) at WorkflowExecute.runNode (C:\Users\MyUser\AppData\Roaming\npm\node_modules\n8n\node_modules\n8n-core\src\execution-engine\workflow-execute.ts:1428:11) at C:\Users\MyUser\AppData\Roaming\npm\node_modules\n8n\node_modules\n8n-core\src\execution-engine\workflow-execute.ts:1760:27 at C:\Users\MyUser\AppData\Roaming\npm\node_modules\n8n\node_modules\n8n-core\src\execution-engine\workflow-execute.ts:2337:11
Describe the problem/error/question
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system: