fix advisor and drop down refresh

This commit is contained in:
larssand
2026-07-01 08:56:08 +02:00
parent fcfbe04a58
commit a3cfab1f5a
5 changed files with 66 additions and 5 deletions

View File

@@ -264,6 +264,8 @@ def build_status(
profile_advisor_status = {"enabled": True, "status": "ok", "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")}
for suggestion in profile_suggestions:
suggestion.setdefault("profile_advisor", {"status": "heuristic", "error": str(exc)})
intel_ips = sorted(
{
ip