MCPcopy
hub / github.com/7836246/cursor2api / write

Method write

test/unit-openai-log-summary.mjs:59–62  ·  view source on GitHub ↗
(chunk)

Source from the content-addressed store, hash-verified

57 this.headers = { ...this.headers, ...headers };
58 }
59 write(chunk) {
60 this.body += String(chunk);
61 return true;
62 }
63 end(chunk = '') {
64 this.body += String(chunk);
65 this.ended = true;

Callers 15

sendCursorChatFunction · 0.45
e2e-prompt-ab2.mjsFile · 0.45
runAnthropicTestFunction · 0.45
chatFunction · 0.45
collectStreamFunction · 0.45
testFunction · 0.45
runAgentLoopFunction · 0.45
testFunction · 0.45
runAnthropicTestFunction · 0.45
apiLogsStreamFunction · 0.45
handleOpenAIMockStreamFunction · 0.45

Calls

no outgoing calls

Tested by 2

testFunction · 0.36
testFunction · 0.36