mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-24 05:44:07 +00:00
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 |
||
|---|---|---|
| .. | ||
| data | ||
| internal | ||
| migrations | ||
| models | ||
| retrieval | ||
| routers | ||
| socket | ||
| static | ||
| storage | ||
| tools | ||
| utils | ||
| __init__.py | ||
| alembic.ini | ||
| config.py | ||
| constants.py | ||
| env.py | ||
| events.py | ||
| functions.py | ||
| main.py | ||
| tasks.py | ||