MCPcopy Create free account
hub / github.com/arctic-cli/interface / flushTextDelta

Function flushTextDelta

packages/arctic/src/session/processor.ts:63–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61 let textDeltaBatch = ""
62 let textDeltaTimer: Timer | undefined
63 const flushTextDelta = async () => {
64 if (textDeltaBatch && currentText) {
65 await Session.updatePart({
66 part: currentText,
67 delta: textDeltaBatch,
68 })
69 textDeltaBatch = ""
70 }
71 }
72
73 // batching for reasoning deltas
74 const reasoningDeltaBatch: Record<string, string> = {}

Callers 1

processFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected