Describe the problem/error/question
I am having an issue with the ‘Postgres Chat Memory’ node on n8n. The problem is that the query to the PostgreSQL database is not obeying the ‘Context Window Length’ setting. The query retrieves the entire table instead of limiting the amount of historical chat data returned.
Please share your workflow
Information on your n8n setup
- n8n version: 1.81.4
- Database (default: SQLite): default
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Ubuntu 20.04.6