migrate knowledge atlas to llama.cpp
This commit is contained in:
+6
-6
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user