authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-02-26 20:29:39-08:00
committergravatar for jmarminge@gmail.comJulius Marminge <jmarminge@gmail.com> 2026-02-26 20:43:22-08:00
loged3958daa8f703fafa6a505727fcd55678f842de
treeb64994fd3418869e51325747d19acf19c67709b3
parent9d5c5156805a24c01de1bc7147c80b9bcd43827f

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

1 files changed, 1 insertions(+), 1 deletions(-)

apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.ts+1-1
...@@ -237,7 +237,7 @@ const make = Effect.gen(function* () {...@@ -237,7 +237,7 @@ const make = Effect.gen(function* () {
237 return "";237 return "";
238 }238 }
239239
240 // Safety valve: spill full buffered text as a persisted assistant delta to cap memory.240 // Safety valve: flush full buffered text as an assistant delta to cap memory.
241 yield* Cache.invalidate(bufferedAssistantTextByMessageId, messageId);241 yield* Cache.invalidate(bufferedAssistantTextByMessageId, messageId);
242 return nextText;242 return nextText;
243 }),243 }),