MCPcopy Create free account
hub / github.com/Nutlope/llamacoder / flushText

Function flushText

lib/utils.ts:121–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119 let openTag: string | null = null; // e.g. tsx{path=src/App.tsx}
120
121 const flushText = () => {
122 if (textBuffer.length > 0) {
123 segments.push({ type: "text", content: textBuffer.join("\n") });
124 textBuffer = [];
125 }
126 };
127
128 const parseTag = parseFenceTag;
129

Callers 1

parseReplySegmentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected