Just here have timeout for 10-15 secs.
and after answer
and in console i see this error
Error in handler N8nLlmTracing, handleLLMEnd: TypeError: fetch failed
Same here but with OpenAI. Chat works, but I’ve got long loading circle arrows on AI Agent (around 20 sec), and no loading circle arrows on OpenAI. But after 20 sec I recieve reply. I use OpenAI with API key, and in other programs it wirks fast without any delay…
the issue is probably related to the fact you’re using some “proxy” and that proxy doesn’t implement all required methods or your network cannot access it for some reason;
The easiest workaround:
just remove N8nLlmTracing from packages/@n8n/nodes-langchain/nodes/llms/LMChatOpenAi/LmChatOpenAi.node.ts