open-webui/backend
Ryan Baron de Ropp 4566540f7b fix: handle null tool_call arguments during stream processing
Some OpenAI-compatible providers (e.g. DeepSeek via DeepInfra) stream
tool_calls with function.arguments set to null. split_json_objects then
called len(None) and aborted process_chat mid-stream after partial text
had already rendered.

Coerce null/non-string arguments before splitting, normalize them onto
the tool call, and harden stream delta accumulation when arguments is null.

Closes #27195
2026-07-19 10:35:14 -04:00
..
data refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
open_webui fix: handle null tool_call arguments during stream processing 2026-07-19 10:35:14 -04:00
.dockerignore fix: litellm config issue 2024-02-24 22:35:11 -08:00
.gitignore refac 2024-09-06 04:59:20 +02:00
dev.sh refac 2026-03-24 19:43:30 -05:00
requirements-min.txt chore: bump Python backend dependencies, drop unused peewee (#25786) 2026-06-29 02:02:18 -05:00
requirements.txt chore: bump Python backend dependencies, drop unused peewee (#25786) 2026-06-29 02:02:18 -05:00
start.sh refac 2026-06-17 03:01:11 +02:00
start_windows.bat refac 2026-06-17 03:01:11 +02:00