Hi Everybody, I am using repocloud.io service to run n8n ver.2.14.2

Describe the problem/error/question
it worked fine in deepseek v3, but when deepseek upgrade to v4, it doesn’t work for 2nd round. Does anyone get the same problem? how to fix it.
, instance unavailable), please contact support at help@n8n.io →
What is the error message (if any)? Bad request
Information on your n8n setup
Hi @Alan_Cheung1 Have you tried accessing the DeepSeek v4 model from OpenRouter? That would make it work hopefully.
@Alan_Cheung1 sounds like the chat memory is sending back a message format v4 rejects on turn 2, drop the memory node and reconnect a fresh Window Buffer Memory with context window set to 1, or just swap the deepseek node for a plain HTTP Request to https://api.deepseek.com/chat/completions so you control the body shape yourself.
Seems ok if loaded from OpenAI chat model
Following your suggestion, it fails when the AI agent calls a tool
If no tool is called, it works. The original DeepSeek chat model node also works fine.
This is expected. You may have to define a tool calling schema. This may require some trial and error
@AlanCheung1 deepseek v4 is stricter on function schemas, in your tool node make sure every param has a type and description and drop any nested objects, also try setting toolchoice to auto in the model node options, v4 chokes when the schema has loose types that v3 silently accepted.
It happens sometime, same for the postges, its not your fault. Have you tried the deepseek v4 from the openrouter? If it still happen try contacting the n8n support