The Responses API terminates a session too early

So as you can see… DELETE is called before the tools/call method… this causes the following tools/call to have a 400 bad request error result…

If I remove the DELETE (which is for removing sessions) handling, it works fine.

This is my dependencies… (Node JS)
“@modelcontextprotocolmodelcontextprotocolmodelcontextprotocolmodelcontextprotocol/sdk”: “^1.17.3”,
“express”: “^5.1.0”,
“openai”: “^5.13.1”,
“selfsigned”: “^3.0.1”

Still trying to figure out how not to have the early DELETE call…