migrate knowledge atlas to llama.cpp

This commit is contained in:
wuyang
2026-07-28 17:16:34 +08:00
parent 88fb212985
commit efbd82532f
9 changed files with 152 additions and 109 deletions
+6 -6
View File
@@ -141,12 +141,12 @@ async function loadHealth() {
try {
const health = await api("/api/health");
state.health = health;
const ollamaState = health.ollama_ready
? "Ollama ready"
: health.ollama_ok
? "Ollama model mismatch"
: "Ollama offline";
elements.healthLine.textContent = `${health.paper_count} papers · ${ollamaState}`;
const modelState = health.model_api_ready
? "Model API ready"
: health.model_api_ok
? "Model API mismatch"
: "Model API offline";
elements.healthLine.textContent = `${health.paper_count} papers · ${modelState}`;
} catch (error) {
elements.healthLine.textContent = error.message;
}