Compare commits

...
3 Commits
Author SHA1 Message Date
me cccd7238cd llm, enable metrics if the version supports it. 2026-10-12 10:58:55 -07:00
me 43eff5399c llm, use the default container for open-webui. 2026-10-12 10:58:35 -07:00
me 65090d32e8 llm, fix model names for chat and code. 2026-10-12 10:58:15 -07:00
+4 -3
View File
@@ -243,6 +243,7 @@
### Logging ###
export OLLAMA_DEBUG=1
export OLLAMA_METRICS=1 # (check http://127.0.0.1:11434/metrics)
### Other ###
export OLLAMA_ORIGINS=*
@@ -385,7 +386,7 @@
-e WEBUI_SECRET_KEY={{ open_webui_key }} \
-e OLLAMA_BASE_URL=http://host.docker.internal:11434 \
--name open-webui \
ghcr.io/open-webui/open-webui:main
ghcr.io/open-webui/open-webui
mode: "0755"
- name: Workstation | Linux | Software | LLMs | runit | open-webui | Script | Finish
@@ -630,13 +631,13 @@
alias ollama-stop-all="ollama_stop"
function ollama_chat() {
ollama run {{ 'ollama3.8:27b' if ansible_memtotal_mb > 32000 else 'ollama3.5:4b' }}
ollama run {{ 'qwen3.8:27b' if ansible_memtotal_mb > 32000 else 'qwen3.5:4b' }}
}
alias ollama-chat="ollama_chat "
alias chat="ollama_chat "
function ollama_code() {
ollama run {{ 'ollama3-coder:30b' if ansible_memtotal_mb > 32000 else 'ollama2.5-coder:7b' }}
ollama run {{ 'qwen3-coder:30b' if ansible_memtotal_mb > 32000 else 'qwen2.5-coder:7b' }}
}
alias ollama-code="ollama_code "
alias code="ollama_code "