+
+
+
β‘ qwen2.5:14b
+
Ollama / Mac Studio
+
-
-
β
β
β
ββ Blog quality
-
β
β
β
β
β Speed (local GPU)
-
β General purpose
-
β No API cost
-
β Mode collapse on complex prompts
-
Provider: Ollama / Mac Studio
+
+
β
β
β
β
β
Blog-QualitΓ€t
+
β
β
β
β
β
Geschwindigkeit
+
β Allzweck-Modell
+
β Keine API-Kosten
+
β Mode Collapse bei komplexen Prompts
-
-
BLOG_LLM_PROVIDER=ollama
OLLAMA_LLM_MODEL=qwen2.5:14b
+
+ BLOG_LLM_PROVIDER=ollama
OLLAMA_LLM_MODEL=qwen2.5:14b
-
local model
+
local model
-
-
Modell wechseln:
- SSH β Erik β
nano /opt/tip/ecosystem.config.js β BLOG_LLM_PROVIDER + ANTHROPIC_API_KEY setzen β
pm2 restart tip-api --update-env
+
+ Modell wechseln: SSH β Erik β
+ nano /opt/tip/ecosystem.config.js
+ β BLOG_LLM_PROVIDER + ANTHROPIC_API_KEY β
+ pm2 restart tip-api --update-env
@@ -4410,50 +4415,48 @@ async function loadBlogLLMStatus() {
}
if (activeModel) activeModel.textContent = llm.model || 'β';
if (activeProvider) {
- activeProvider.textContent = llm.provider || 'β';
- activeProvider.style.background = llm.provider === 'anthropic' ? 'rgba(124,92,252,0.2)' : 'rgba(34,197,94,0.15)';
- activeProvider.style.color = llm.provider === 'anthropic' ? '#a78bfa' : '#86efac';
+ activeProvider.textContent = llm.provider === 'anthropic' ? 'anthropic' : 'ollama';
+ activeProvider.style.background = 'var(--accent)';
+ activeProvider.style.color = '#fff';
}
if (queueEl) {
var q = data.queue_depth || 0;
- queueEl.textContent = q > 0 ? 'Queue: ' + q + ' jobs' : 'Queue: idle';
+ queueEl.textContent = q > 0 ? 'Queue: ' + q + ' Jobs' : 'Queue: idle';
}
- // Mark active model card
+ // Mark active model card with accent border
var foActive = document.getElementById('blog-model-fo-active');
var foCard = document.getElementById('blog-model-card-fo');
var claudeCard = document.getElementById('blog-model-card-claude');
if (llm.provider === 'anthropic') {
- if (claudeCard) claudeCard.style.border = '1px solid rgba(124,92,252,0.6)';
- claudeCard.style.background = 'rgba(124,92,252,0.1)';
+ if (claudeCard) claudeCard.style.border = '2px solid var(--accent)';
var claudeStatusEl = document.getElementById('blog-model-claude-status');
if (claudeStatusEl) {
- claudeStatusEl.textContent = 'β ACTIVE β API key configured';
- claudeStatusEl.style.color = '#a78bfa';
+ claudeStatusEl.textContent = 'β Aktiv β API-Key konfiguriert';
+ claudeStatusEl.style.color = '#1a7a3a';
+ claudeStatusEl.style.fontWeight = '600';
}
- document.getElementById('blog-model-fo-status').textContent = 'available (not active)';
+ var foSt = document.getElementById('blog-model-fo-status');
+ if (foSt) { foSt.textContent = 'bereit (nicht aktiv)'; foSt.style.color = 'var(--text-dim)'; }
} else {
- // Ollama active
if (foActive) foActive.style.display = 'inline';
- if (foCard) {
- foCard.style.border = '1px solid rgba(34,197,94,0.5)';
- foCard.style.background = 'rgba(34,197,94,0.08)';
- }
+ if (foCard) foCard.style.border = '2px solid var(--accent)';
var foStatusEl = document.getElementById('blog-model-fo-status');
if (foStatusEl) {
- foStatusEl.textContent = llm.ok ? 'β ACTIVE β Ollama reachable' : 'β Ollama unreachable: ' + (llm.error || 'check connection');
- foStatusEl.style.color = llm.ok ? '#86efac' : '#fbbf24';
+ foStatusEl.textContent = llm.ok ? 'β Aktiv β Ollama erreichbar' : 'β Ollama nicht erreichbar: ' + (llm.error || '').slice(0, 60);
+ foStatusEl.style.color = llm.ok ? '#1a7a3a' : '#b45309';
+ foStatusEl.style.fontWeight = '600';
}
- var claudeStatusEl2 = document.getElementById('blog-model-claude-status');
- if (claudeStatusEl2) {
- claudeStatusEl2.textContent = 'available β set BLOG_LLM_PROVIDER=anthropic + ANTHROPIC_API_KEY';
- claudeStatusEl2.style.color = 'var(--text-dim)';
+ var clSt = document.getElementById('blog-model-claude-status');
+ if (clSt) {
+ clSt.textContent = 'bereit β BLOG_LLM_PROVIDER=anthropic + ANTHROPIC_API_KEY setzen';
+ clSt.style.color = 'var(--text-dim)';
}
}
} catch(e) {
var b = document.getElementById('blog-llm-status-badge');
- if (b) { b.textContent = 'error'; b.style.color = '#f87171'; }
+ if (b) { b.textContent = 'Fehler'; b.style.background = '#fee2e2'; b.style.color = '#b91c1c'; }
}
}