Disable Memory for some type of request

I have a workflow with an AGENT where I would like to disable the “Memory” for “insert” or “modify” requests to be passed to a tool, and use it only for storing the AI ​​response.

For example: in a “todo list” if I request to change the status of a job from “pending” to “finished” the first time it works without problems, but if immediately after I tell it to change, for the same job, the status from “finished” to “pending” no “Tools” is called but everything is taken from the memory and the AI reply with “The new status is …”

How can I disable the memory for some type of operation? I have tried to insert to not use “memory” in the System Message but without luck.

Information on your n8n setup

  • n8n version: 1.88
  • Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main): own
  • Running n8n via (Docker, npm, n8n cloud, desktop app):. npm via nginx proxy
  • Operating system:: Debian 12

Hey @Michel_Morelli,

I can see that problem. Right now it’s probably only possible to have a good prompt about it - but I can see how models would ignore that. I have added your idea to our backlog. I think it would be a great addition to be able to toggle memory off and on based on expressions.

2 Likes

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