Fix live multi-turn: pass the resolved drug, stop did-you-mean garbage

This commit is contained in:
2026-08-05 16:54:35 +07:00
parent ef08b4929e
commit 1e8cbdb586
29 changed files with 2013 additions and 83 deletions
+4
View File
@@ -81,3 +81,7 @@ class RetrievalResult:
evidence: tuple[Evidence, ...] = field(default_factory=tuple)
resolved_drug_id: str | None = None
drug_resolution_status: str = "not_attempted"
# True when the user typed only a drug name (no attribute): the answer layer
# should introduce the drug (what it is + what it treats), not restate a
# section verbatim.
is_drug_overview: bool = False