diff --git a/atlasbot/engine/answerer.py b/atlasbot/engine/answerer.py index a8e7fd9..a9e6e85 100644 --- a/atlasbot/engine/answerer.py +++ b/atlasbot/engine/answerer.py @@ -328,6 +328,12 @@ class AnswerEngine: if hottest_facts and not hardware_facts and focus_entity != "class" and not hotspot_request: metric_facts = hottest_facts key_facts = _merge_fact_lines(metric_facts, key_facts) + if "namespace" in lowered_q and any(term in lowered_q for term in ("hotspot", "hot spot", "hottest")): + for line in summary_lines: + if line.startswith("node_pods_top:"): + metric_facts = _merge_fact_lines([line], metric_facts) + key_facts = _merge_fact_lines([line], key_facts) + break if classify.get("question_type") in {"metric", "diagnostic"} and not hottest_facts and not hardware_facts: metric_candidates = _metric_candidate_lines(summary_lines, keyword_tokens) selected_facts = await _select_metric_facts(call_llm, normalized, metric_candidates, plan)