fix: harden reviewer workflow and memory handling
This commit is contained in:
@@ -16,8 +16,9 @@ from tht.memory import MemoryRecord, memory_vector_record_for_decision, save_one
|
||||
def _record(seq: int = 7, **kw) -> MemoryRecord:
|
||||
base = dict(
|
||||
id="mem-0007", ts=datetime(2025, 1, 1), session_id="s1", decision_seq=seq,
|
||||
type="table_promoted", subject="pazienti", detail="promossa", rationale="r",
|
||||
question_context="dammi i pazienti", tables=["pazienti"], concepts=[],
|
||||
type="concept_clarified", subject="paziente attivo",
|
||||
detail="flag_attivo = TRUE", rationale="r",
|
||||
question_context="dammi i pazienti", tables=[], concepts=["paziente attivo"],
|
||||
)
|
||||
base.update(kw)
|
||||
return MemoryRecord(**base)
|
||||
|
||||
Reference in New Issue
Block a user