mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-26 07:11:00 -05:00
OpenAI-compatible clients and SDKs leave out the text field on an assistant turn that only carries tool calls, which the OpenAI format allows. The Ollama OpenAI-compatible chat endpoint refused that turn with a 400 "Field required", so multi-turn tool calling broke as soon as the client sent the history back. Such turns are now accepted and passed on to Ollama as sent. Fixes #34441