AI Agent + Vector Store Tool generates strange responses and seems to miss the tool information

I’m facing the exact same issue. Is there any answer from n8n or from users to get a workaround at least please?

Following documentation it seems that the Ollama Chat model is not supported for Tools Agent. Can someone of n8n Team can say if it’s on scope or if there’s no option to run Ollama’s models locally? Here you can see the available chat models:

@Joseph_Jimenez_Solis Not all AI models support tool calling.

1 Like

are you still waiting for a solution?

Hi, new to n8n and ai agents, I think I’m running into the same issue, for testing purposes I’m trying to run everything local and using ollama + nomic which someone reported as working, however I get a bunch of json slapped back into the prompt after “Tool:” and the chat model tells me they have no idea what’s going on.

Has anybody managed to get pgvector + ollama nomic + AI agent with ollama llama 3.2 working?

thanks

This is my exact issue. Following the logs - the information comes out of the qdrant vector - but then the chat model just ignores all that.

I can get it to answer the very first question i ask it in a new session, but then it doesn’t work any more. Even though qdrant keeps giving it the correct answer- the agent/chat model just goes “welp, dunno”

I also noticed that it likes to rework the output twice. I dont know why.

If i add an AI Agent, with Ollama 3.1 as the chat model - and a tool to send the conversation to Discord - if i start a chat, ask it “what’s taller, a duck or a car” - the output is verbose - and whats in the chat response - but for some reason, it made another pass - and what goes to discord is some weird “message” with different output/phrasing, generally shorter.

No insight into what generated THAT.

AI Agent has issues.

welcome to n8n

Any update on this?

Hello everyone!
It seems that I have a similar problem. Noda AI Agent does not use tools: “Tink” and “Reed Postgres PGVector”. Does anyone know how to make AI Agent use tools?

I use Google Vertex Chat Model.
n8n Version - 1.103.2

UPD:
My problem was solved by renaming the parameter in the Google Vertex Chat Model node from “gemini-1.5-flash” to “gemini-2.5-flash”. After that, the node began to access the tools.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.