mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-14 14:40:52 +00:00
refactor(coach): count the assistant messages before the window inside the conversation read
This commit is contained in:
1 parent
4e47670f25
commit
d6ac4acad2
5 files changed
+97
-71
No files matched your search
@@ -169,7 +169,7 @@ describe("POST /api/insights/chat — fence guard", () => {
|
||||
expect(fetchConversationWithMessages).toHaveBeenCalledWith(
|
||||
"u1",
|
||||
"fenced-conv",
|
||||
{ documentScoped: false },
|
||||
{ documentScoped: false, countEarlierAssistant: true },
|
||||
);
|
||||
expect(auditLog).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user