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:
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;
|
||||
}),
|
||||
|
||||
Reference in new issue
Block a user