fix: cap diary_read query and update stale comment

This commit is contained in:
Igor Lins e Silva
2026-04-07 17:32:59 -03:00
parent 9491ffa92b
commit 161a0d12a2
+1
View File
@@ -407,6 +407,7 @@ def tool_diary_read(agent_name: str, last_n: int = 10):
results = col.get( results = col.get(
where={"$and": [{"wing": wing}, {"room": "diary"}]}, where={"$and": [{"wing": wing}, {"room": "diary"}]},
include=["documents", "metadatas"], include=["documents", "metadatas"],
limit=10000,
) )
if not results["ids"]: if not results["ids"]: