ändrar sattus ollama
This commit is contained in:
@@ -628,6 +628,7 @@ async function refresh() {
|
||||
configuration.log_source === 'graylog_mcp' && mcp.status !== 'refreshing' && enabledStreams.length > 0 && displayedRawEvents === 0 ? `<span class="sev-high">No raw events fetched from enabled streams. Check poll window, Graylog query, stream permissions, and Diagnostics -> Stream Coverage.</span>` : '',
|
||||
enabledWithNoRawEvents.length && mcp.status !== 'refreshing' ? `<span class="sev-high">${esc(enabledWithNoRawEvents.length)} enabled stream(s) returned zero raw events in ${esc(zeroRawWindow)}.</span>` : '',
|
||||
mcp.coverage_warning ? `<span class="sev-high">${esc(mcp.coverage_warning)}</span>` : '',
|
||||
advisor.status === 'heuristic_fallback' ? `Profile advisor: heuristic fallback (${esc(advisor.error || 'advisor unavailable')})` : '',
|
||||
advisor.status === 'error' ? `<span class="sev-high">Profile advisor error: ${esc(advisor.error || 'unknown error')}</span>` : ''
|
||||
].filter(Boolean).join('<br>');
|
||||
document.getElementById('health').innerHTML = [
|
||||
|
||||
@@ -432,7 +432,13 @@ def build_status(
|
||||
profile_suggestions = apply_profile_advice(profile_suggestions, advice)
|
||||
profile_advisor_status = {"enabled": True, "status": "ok" if advice else "empty", "profiles_returned": len(advice), "model": str(runtime_values.get("profile_advisor_model", "") or "qwen3:8b")}
|
||||
except Exception as exc:
|
||||
profile_advisor_status = {"enabled": True, "status": "error", "error": str(exc), "model": str(runtime_values.get("profile_advisor_model", "") or "qwen3:8b")}
|
||||
profile_advisor_status = {
|
||||
"enabled": True,
|
||||
"status": "heuristic_fallback",
|
||||
"error": str(exc),
|
||||
"model": str(runtime_values.get("profile_advisor_model", "") or "qwen3:8b"),
|
||||
"candidates": len(advisor_candidates),
|
||||
}
|
||||
for suggestion in profile_suggestions:
|
||||
suggestion.setdefault("profile_advisor", {"status": "heuristic", "error": str(exc)})
|
||||
intel_ips = sorted(
|
||||
|
||||
Reference in New Issue
Block a user