open-webui/backend/open_webui/tools
Classic298 794e57cf7e
fix: misleading ask_user error when questions are not sent as a list (#32727)
When a model sent the ask_user questions as anything other than a list, for example a JSON-encoded string, the tool answered "ask_user requires 1-3 questions." The model had sent the right number of questions, so it did not understand the error and often repeated the same call in a loop. It now gets a separate error saying the questions must be an array of question objects, and the count error only appears when the count is actually wrong.

Fixes #32662
2026-10-21 03:33:10 +09:00
..
__init__.py feat: native function calling for built-in tools 2026-01-05 04:45:17 +04:00
builtin.py fix: misleading ask_user error when questions are not sent as a list (#32727) 2026-10-21 03:33:10 +09:00
knowledge_fs.py refac 2026-10-13 19:10:21 +04:00