Skip to content

Commit d8a3cde

Browse files
metiu1claude
andcommitted
UI: clearer error for models that can't load (Ollama-engine/too big)
Picking gemma4 (Gemma 3n) showed a misleading 'Not enough memory'. Now the friendly error explains the model needs a different engine or is too big, and points to a working pick (Qwen2.5 0.5B/7B, Llama 3.2 3B). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 90ab3bb commit d8a3cde

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

vortelio/internal/server/ui.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4112,6 +4112,8 @@ <h3 style="margin:0">🎓 Skills</h3>
41124112
return "This cloud assistant needs an API key. Open Settings → Cloud models to add one.";
41134113
if (/tools_unsupported|does not support tools/i.test(m))
41144114
return "This assistant can't use tools. Pick a newer model, or it will just chat normally.";
4115+
if (/could not be loaded|architecture|llama\.cpp|wrong number of tensors/i.test(m))
4116+
return "This model can't run here — it needs a different engine (some Ollama models like Gemma 3n) or is too big for your GPU. Pick a model marked 🛠 that fits, e.g. Qwen2.5 0.5B/7B or Llama 3.2 3B.";
41154117
if (/connection|offline|unreachable|fetch failed|ECONNREFUSED|timeout/i.test(m))
41164118
return "Can't reach the assistant. Make sure Vortelio is running, then try again.";
41174119
if (/out of memory|CUDA|VRAM|allocat/i.test(m))

0 commit comments

Comments
 (0)