Ai agent is not calling tool some time , if connected with memory

ai agent is not calling tool some time , if connected with memory , need to disconnect and run the chat then only aging it work as normal , i already clearly mentioned use tool always befor send output , but its just take previs chat and give replay to us

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow


Share the output returned by the last node

Information on your n8n setup

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

Hi @naseef,

Please can you share your workflow in a code block or your system prompt so we can have a look.

PS: You can also clear the memory using the following node while testing to make sure you use a clean memory, but for production use you need to enhance the prompt maybe to be more explicit

1 Like

here is the work floe , i try with different memory , diffrent chat model including top thinking model also