mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-23 05:33:48 +00:00
- InterfaceDefaultsModal submitHandler now requestSubmits the embedded
tab-interface form and awaits a Svelte tick before POSTing. That
flushes submit-scoped writes in the InterfaceSettings component
(updateInterfaceHandler -> saveSettings({ models, imageCompressionSize }))
through the saveAdminSettings callback so they land in adminDefaults
instead of being silently dropped on save.
- +layout.svelte only reads localStorage.settings when the server
didn't return user UI, and wraps the JSON.parse in try/catch with a
{} fallback. A stale or hand-edited localStorage value would
otherwise throw and abort the whole authenticated-load path even
when valid userSettings came back from the backend.
- users.py reset_all_users_interface_settings branches explicitly on
postgresql and sqlite; any other dialect now responds 501 with a
clear message naming the unsupported dialect. The previous
"everything that isn't postgres runs SQLite-specific SQL" assumption
would fail on MySQL/MariaDB with an opaque syntax error.
|
||
|---|---|---|
| .. | ||
| 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 | ||