Clarify assistant buffer flush safety-valve comment

- Update wording to say buffered text is flushed as an assistant delta
- Keeps intent clear: memory is capped by emitting the current buffer
This commit is contained in:
Julius Marminge committed 2026-02-26 20:40:09 -08:00
1 parent 99143e515e
commit b813af9580
1 file changed
+1 -1
@@ -237,7 +237,7 @@ const make = Effect.gen(function* () {
return "";
}
// Safety valve: spill full buffered text as a persisted assistant delta to cap memory.
// Safety valve: flush full buffered text as an assistant delta to cap memory.
yield* Cache.invalidate(bufferedAssistantTextByMessageId, messageId);
return nextText;
}),