I have connected N8n agent to openrouter llama 3.2 and also gemini 2.0 (both free).
i have more than enough credits in my openrouter account. has anyone found solution to this?
it worked couple of timee 3 days of ago, but now i just keep getting following error in the executions:
Error: Provider returned error at Stream.iterator (/usr/local/lib/node_modules/n8n/node_modules/openai/streaming.js:40:35) at processTicksAndRejections (node:internal/process/task_queues:95:5) at ChatOpenAI._streamResponseChunks (/usr/local/lib/node_modules/n8n/node_modules/@langchain/openai/dist/chat_models.cjs:1225:26) at ChatOpenAI._streamIterator (/usr/local/lib/node_modules/n8n/node_modules/@langchain/core/dist/language_models/chat_models.cjs:94:34) at ChatOpenAI.transform (/usr/local/lib/node_modules/n8n/node_modules/@langchain/core/dist/runnables/base.cjs:402:9) at RunnableBinding.transform (/usr/local/lib/node_modules/n8n/node_modules/@langchain/core/dist/runnables/base.cjs:883:9) at ToolCallingAgentOutputParser.transform (/usr/local/lib/node_modules/n8n/node_modules/@langchain/core/dist/runnables/base.cjs:391:26) at RunnableSequence._streamIterator (/usr/local/lib/node_modules/n8n/node_modules/@langchain/core/dist/runnables/base.cjs:1320:30) at RunnableSequence.transform (/usr/local/lib/node_modules/n8n/node_modules/@langchain/core/dist/runnables/base.cjs:402:9) at wrapInputForTracing (/usr/local/lib/node_modules/n8n/node_modules/@langchain/core/dist/runnables/base.cjs:275:30)