Cant use ai agent with gemini model

Previously I made a chat bot with an AI agent and Gemini model.
then I upgraded n8n to the latest version 1.52.2 but it couldn’t connect and be compatible with the AI ​​agent.
what should I do?

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @Imam_Hanafi,

Thanks for bringing this up! we might be seeing a bug. Do you recall what version you were on last time this worked?

Hi @Imam_Hanafi ,

We’re reviewing our implementation here and trying to build a bigger picture :slight_smile:
Would be possible that your previous implementation integrated the gemini model with a different agent, like the conversational one, for example?

As of now, you can only use the Gemini with other AI agents but not the tools agent. Tried this a million times and it didn’t work

is there an update on this bug? Would love to work with Gemini on agents implementations.

Hi @asaid,

This implementation is still not possible. The Gemini model doesn’t match the requirements of the Agent for tool calling, so they’re not compatible at least for now.

This is still a confusing UX since the model is able to be linked to the Agent in certain versions, but the error is expected behaviour.