DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.
Python ai-agentsai-tutorclawbotcli-tooldeepresearchinteractive-learninglearningmulti-agent-systemsrag
fix(reading): accept catalog-minted rm_ material ids in the turn protocol
flower-moon481cb545378a
diff --git a/deeptutor/reading/references.py b/deeptutor/reading/references.pyindex 0b5d15d7e..8f91e67d8 100644--- a/deeptutor/reading/references.py+++ b/deeptutor/reading/references.py@@ -17,7 +17,8 @@ from deeptutor.reading.store import MAX_READ_CHARS, ReadingStoreMAX_READING_REFERENCE_MATERIALS = 8MAX_READING_REFERENCE_UNITS = 24-_MATERIAL_ID_RE = re.compile(r"^[0-9a-f]{8,64}$")+# Same shape the store accepts: content hashes and catalog-minted rm_ ids.+_MATERIAL_ID_RE = re.compile(r"^(?:[0-9a-f]{8,64}|rm_[0-9a-f]{12})$")@dataclass(frozen=True, slots=True)