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
@@ -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