diff --git a/src/fabledassistant/routes/notes.py b/src/fabledassistant/routes/notes.py index 55413d3..1ad4371 100644 --- a/src/fabledassistant/routes/notes.py +++ b/src/fabledassistant/routes/notes.py @@ -259,7 +259,7 @@ async def assist_route(): if existing and existing.state == GenerationState.RUNNING: return jsonify({"error": "Assist generation already running"}), 409 - model = await get_setting(uid, "default_model", Config.OLLAMA_MODEL) + model = await get_setting(uid, "default_model", Config.OLLAMA_MODEL) or Config.OLLAMA_MODEL messages = build_assist_messages(body, target_section, instruction) buf = create_assist_buffer(uid)