# Tools Agent requires Chat Model which supports Tools calling

**URL:** <https://community.n8n.io/t/tools-agent-requires-chat-model-which-supports-tools-calling/48798>\
**Category:** Questions\
**Tags:** core\
**Created:** [June 20, 2024, 7:46am UTC](https://community.n8n.io/t/tools-agent-requires-chat-model-which-supports-tools-calling/48798 "2024-06-20T07:46:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![WTeeth](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/wteeth/32/36607_2.png) [@WTeeth](https://community.n8n.io/u/WTeeth)\
**Post date:** [June 20, 2024, 7:46am UTC](https://community.n8n.io/t/tools-agent-requires-chat-model-which-supports-tools-calling/48798/1 "2024-06-20T07:46:13Z")

</div>

The Tool Agent in AI Agent not yet support Ollama? when I force it to connect to a Ollama Chat Mode, it will throw Error: Tools Agent requires Chat Model which supports Tools calling

Node type

`@n8n/n8n-nodes-langchain.agent`

Node version

`1.5 (Latest version: 1.6)`

n8n version

`1.44.0 (Self Hosted)`

---

<div class="post-metadata">

**Author:** ![n8n](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/n8n/32/196425_2.png) [@n8n](https://community.n8n.io/u/n8n)\
**Post date:** [June 20, 2024, 7:46am UTC](https://community.n8n.io/t/tools-agent-requires-chat-model-which-supports-tools-calling/48798/2 "2024-06-20T07:46:13Z")

</div>

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:**

---

<div class="post-metadata">

**Author:** ![Imperol](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/imperol/32/40883_2.png) [@Imperol](https://community.n8n.io/u/Imperol)\
**Post date:** [June 20, 2024, 8:33am UTC](https://community.n8n.io/t/tools-agent-requires-chat-model-which-supports-tools-calling/48798/3 "2024-06-20T08:33:08Z")

</div>

Currently AI tools only support a few models.

---

<div class="post-metadata">

**Author:** ![WTeeth](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/wteeth/32/36607_2.png) [@WTeeth](https://community.n8n.io/u/WTeeth)\
**Post date:** [June 21, 2024, 1:54am UTC](https://community.n8n.io/t/tools-agent-requires-chat-model-which-supports-tools-calling/48798/4 "2024-06-21T01:54:44Z")

</div>

sounds unreasonable, the conversation/React agent supports ollama, but tool agent didnt while they are in the same AI Agent node.

---

<div class="post-metadata">

**Author:** ![Derek\_Cheung](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/derek_cheung/32/27193_2.png) [@Derek\_Cheung](https://community.n8n.io/u/Derek_Cheung)\
**Post date:** [June 21, 2024, 3:22am UTC](https://community.n8n.io/t/tools-agent-requires-chat-model-which-supports-tools-calling/48798/5 "2024-06-21T03:22:29Z")

</div>

A few months ago, I think ollama added openai api compatible endpoint to their localhost server.

Have you tried using an OpenAI Chat Model node but change the base URL to the ollama local host URL?

---

<div class="post-metadata">

**Author:** ![WTeeth](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/wteeth/32/36607_2.png) [@WTeeth](https://community.n8n.io/u/WTeeth)\
**Post date:** [June 27, 2024, 1:42am UTC](https://community.n8n.io/t/tools-agent-requires-chat-model-which-supports-tools-calling/48798/6 "2024-06-27T01:42:44Z")

</div>

nono，its not the same case, it is unable to connect to Ollama chat mode node. the connections is unlinkable.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [September 25, 2024, 1:43am UTC](https://community.n8n.io/t/tools-agent-requires-chat-model-which-supports-tools-calling/48798/7 "2024-09-25T01:43:05Z")

</div>

Closed on September 25, 2024, 1:43am UTC

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