Files
open-webui/backend/open_webui/tools
Classic298 c4638647f8 fix: programs fail when a model passes a tool's arguments as one dict (#35547)
Models using programmatic tool calling often pass all of a tool's arguments as a single dict, the way an ordinary tool call looks, instead of as named arguments. That call failed the whole program, so the model had to notice and run it again. Both forms now call the tool with the same arguments, and a dict plus extra named arguments is merged, with the named ones winning. A single plain value or more than one unnamed value still fails.
2026-12-03 01:13:28 +04:00
..