MCPcopy Create free account
hub / github.com/Hello-Application-XH/HelloGML / sendTextBlockStop

Function sendTextBlockStop

src/adapters.ts:147–153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145 };
146
147 const sendTextBlockStop = () => {
148 if (!textBlockStarted) return;
149 textBlockStarted = false;
150 safeEnqueue(encoder.encode(`event: content_block_stop\ndata: ${JSON.stringify({
151 type: "content_block_stop", index: 0,
152 })}\n\n`));
153 };
154
155 const sendToolBlockStart = (toolCall: any, idx: number) => {
156 if (sentToolIds.has(toolCall.id)) return;

Callers 1

startFunction · 0.85

Calls 1

safeEnqueueFunction · 0.85

Tested by

no test coverage detected