mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-05 11:07:55 -05:00
With ENABLE_RESPONSES_API_STATEFUL on and encrypted reasoning requested, the request after a tool call sent the model's encrypted reasoning again although OpenAI already has it from the previous response. OpenAI rejects that with HTTP 400 "Duplicate item found", so every chat that used a tool failed right after the first tool ran. The follow-up now sends only the tool calls and their results, as it did before v0.13.5. Connections without stateful mode still send the reasoning back. Fixes #35515