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 authored and Julius Marminge committed 2026-02-26 20:43:22 -08:00
1 parent 9d5c515680
commit ed3958daa8
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;
}),