Fix live multi-turn: pass the resolved drug, stop did-you-mean garbage
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user