From ed3958daa8f703fafa6a505727fcd55678f842de Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Thu, 26 Feb 2026 20:29:39 -0800 Subject: [PATCH] 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 --- .../server/src/orchestration/Layers/ProviderRuntimeIngestion.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.ts b/apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.ts index 1ea23e526e..3d1eb012ec 100644 --- a/apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.ts +++ b/apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.ts @@ -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; }),