MCPcopy Create free account
hub / github.com/oboard/claude-code-rev / flushPendingUserText

Function flushPendingUserText

src/services/api/openaiCompatibleClient.ts:278–282  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

276
277 let pendingUserText: string[] = []
278 const flushPendingUserText = () => {
279 if (pendingUserText.length === 0) return
280 out.push({ role: 'user', content: pendingUserText.join('\n') })
281 pendingUserText = []
282 }
283
284 for (const block of content) {
285 if (!block || typeof block !== 'object') continue

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected