Fix: ui.default_models als komma-getrennten String (JSON-Liste crashte Chat.svelte)

"default_models.split is not a function" -> unendlicher Spinner. v0.13 erwartet
in ui.default_models einen String, den das Frontend per .split(",") parst.
DB jetzt "swift-1.5-qwen3.8-27b-q6k", ollama.enable=false, webui.yml changed=1 dann changed=0.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-11-16 01:23:36 +01:00
parent 773a8d2d56
commit c0e7652040
3 changed files with 12 additions and 5 deletions
@@ -162,7 +162,12 @@ nach OWUI-v0.13.3 Reserved-Args (`user_prompt` lesen, History cappen).
- **Model-Namen/Default (14.11.):** `model.name` bzw. `function.name` sind
reine Anzeigenamen (id bleibt stabil für Grants/API): Engine-Modell heißt
„Qwen 3.8 27B (Swift 1.5)", die Pipe „Deep Research"; Default im Picker
über `ui.default_models=["swift-1.5-qwen3.8-27b-q6k"]` (+ `DEFAULT_MODELS`-Env).
über `ui.default_models` (+ `DEFAULT_MODELS`-Env). **Befund:**
`ui.default_models` muss ein **komma-getrennter String** sein — als JSON-Liste
stürzt Chat.svelte mit `default_models.split is not a function` ab
(unendlicher Spinner). Korrekt: `"swift-1.5-qwen3.8-27b-q6k"`.
- Source-Map-Fehler und 403 auf `/api/v1/channels/` in der Konsole sind
kosmetisch/Berechtigungs-Hinweise und blockieren nicht.
- **Console-Warning `svelte.dev/e/derived_inert`:** kosmetisch, kommt aus
OpenWebUI v0.13.3 selbst (Upstream), kein Handlungsbedarf.
@@ -30,10 +30,11 @@ open_webui_egress_network_name: gnai-production-egress
# The id stays stable (grants, API callers); the display name is cosmetic.
open_webui_engine_model_id: swift-1.5-qwen3.8-27b-q6k
open_webui_engine_model_name: "Qwen 3.8 27B (Swift 1.5)"
# Default model preselected in the model picker of new chats (v0.13:
# ui.default_models in the DB config wins over the env var).
open_webui_default_models:
- "{{ open_webui_engine_model_id }}"
# Default model preselected in the model picker of new chats. v0.13 expects
# ui.default_models as a COMMA-SEPARATED STRING (Chat.svelte calls .split on
# it) — a JSON list crashes the page with "default_models.split is not a
# function". DB config wins over the DEFAULT_MODELS env var.
open_webui_default_models: "{{ open_webui_engine_model_id }}"
# Workspace tool (API agents): SearXNG wrapper seeded into the OpenWebUI DB
# with a public read grant. API callers pass this id in `tool_ids`.
@@ -348,6 +348,7 @@
# no Ollama on this host). ui.default_models preselects the engine model
# in new chats.
ollama.enable: false
# comma-separated string, NOT a JSON list (Chat.svelte does .split(","))
ui.default_models: "{{ open_webui_default_models }}"
when: not ansible_check_mode
register: open_webui_web_config_sync