Describe the problem/error/question
Hi everyone,
I noticed a significant behavior change in the AI Agent node after upgrading n8n from v1.122.5 to v1.123.0.
The issue is that the AI Agent now includes its internal “thinking process” or reasoning in the final output. This is particularly evident with local models like qwen3:14b or gpt-oss:20b running via Ollama, where the output reveals the entire reasoning chain before the actual response. In the previous version (v1.122.5), the output was clean and only contained the final response to the user.
My Question
Is this a change in the underlying LangChain prompt templates in v1.123.0? How can I configure the node in the new version to suppress this “thinking process” and strictly output the final response?
What is the error message (if any)?
There is no system error message, but the output content is incorrect/unexpected.
Example 1: Model qwen3:14b (Severe Case) The model outputs a long internal monologue checking guidelines before greeting the user.
“Okay, the user said “hi”. I need to respond appropriately. Let me check the guidelines. The response should be friendly and open-ended. Maybe ask how I can assist them. Keep it simple and welcoming. Avoid any technical jargon. Make sure to use proper grammar and a warm tone. Alright, that should work. Hello! How can I assist you today?
”
Example 2: Model gpt-oss:20b
“The user just says “hi”. We should respond politely. Hello!
How can I help you today?”
Expected Behavior (v1.122.5):
qwen3:14b
"Hello! How can I assist you today? "
gpt-oss:20b
“Hey there!
What’s on your mind today?”
Please share your workflow
Share the output returned by the last node
Please see the comparison screenshots attached below
Information on your n8n setup
- n8n version: 1.123.0/1.122.5
- Database (default: SQLite): sqlite
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Linux













