Files
open-webui/backend
Classic298 9f33c966c9 feat: raise the default tool-call iteration limit per response to 1024 (#33384)
With native function calling, each model turn that calls tools counts as one iteration, and a single response was stopped with "Tool-call limit reached (256 iterations)." after 256 of them. The CHAT_RESPONSE_MAX_TOOL_CALL_ITERATIONS environment variable now defaults to 1024, also when it is set empty or to something that is not a number, and the error shows the new number. A model stuck calling tools in a loop now runs up to 1024 iterations before it is stopped; setting the variable to 256 keeps the old limit, and -1 still means no limit.
2026-10-30 04:51:10 +09:00
..
2024-02-24 22:35:11 -08:00
2024-09-06 04:59:20 +02:00