diff --git a/atlasbot/engine/answerer.py b/atlasbot/engine/answerer.py index 323b36d..f54c477 100644 --- a/atlasbot/engine/answerer.py +++ b/atlasbot/engine/answerer.py @@ -1704,6 +1704,19 @@ def _needs_focus_fix(question: str, reply: str, classify: dict[str, Any]) -> boo q_lower = (question or "").lower() if classify.get("question_type") not in {"metric", "diagnostic"} and not re.search(r"\b(how many|list|count)\b", q_lower): return False + missing_markers = ( + "does not provide", + "does not specify", + "not available", + "not provided", + "cannot determine", + "don't have", + "do not have", + "insufficient", + "no data", + ) + if any(marker in reply.lower() for marker in missing_markers): + return True if reply.count(".") <= 1: return False extra_markers = ("for more", "if you need", "additional", "based on")