update
This commit is contained in:
@@ -20,6 +20,11 @@ def continue_adaptive(payload):
|
||||
precise=precise_answer(payload)
|
||||
if precise is not None:
|
||||
return precise
|
||||
if payload.question_spec.get("catalog_read"):
|
||||
return ContinueDecision()
|
||||
if all(item.status == "ok" and item.total == 0 for item in payload.evidence):
|
||||
# A completed empty read supports a scoped no-records answer, without guessing why.
|
||||
return ContinueDecision()
|
||||
records, allowed, partial = evidence_context(payload.evidence, resources=payload.resources, question=payload.message)
|
||||
from app.modules.work_assistant.answer_audit import add_calendar_facts
|
||||
add_calendar_facts(records, _today(payload).isoformat())
|
||||
|
||||
Reference in New Issue
Block a user