mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-16 23:43:03 +00:00
- loadChat now calls requestResumeForAllInProgress BEFORE the interrupted-generation mark-done heuristic. That heuristic flips done=true when getTaskIdsByChatId returns empty/null, which includes API failures; previously that path would prevent resume from being attempted even when the stream was still alive server-side. Spurious resume requests cost one round trip and clear the fence via empty reply, so calling it unconditionally first is strictly safer. - Env-var float parsing wrapped in a _float_env helper that falls back to default with a warning on invalid input instead of raising at import time. Previous code would ValueError out of the module and prevent socket service startup on operator typo. Pushed back: bot flagged asyncio.Lock as unable to be stored in a WeakValueDictionary. Verified directly on CPython — both weakref.ref and WeakValueDictionary insertion work fine for asyncio.Lock. No change needed. |
||
|---|---|---|
| .. | ||
| data | ||
| internal | ||
| migrations | ||
| models | ||
| retrieval | ||
| routers | ||
| socket | ||
| static | ||
| storage | ||
| test | ||
| tools | ||
| utils | ||
| __init__.py | ||
| alembic.ini | ||
| config.py | ||
| constants.py | ||
| env.py | ||
| functions.py | ||
| main.py | ||
| tasks.py | ||