MCPcopy Create free account
hub / github.com/github/copilot-sdk / httpRequestStart

Function httpRequestStart

nodejs/src/copilotRequestHandler.ts:380–389  ·  view source on GitHub ↗
(
            params: LlmInferenceHttpRequestStartRequest
        )

Source from the content-addressed store, hash-verified

378
379 return {
380 async httpRequestStart(
381 params: LlmInferenceHttpRequestStartRequest
382 ): Promise<LlmInferenceHttpRequestStartResult> {
383 // Adopt any exchange a racing chunk already created — with its
384 // buffered body — rather than dropping those frames.
385 const exchange = getOrCreate(params.requestId);
386 exchange.setContext(params);
387 void run(exchange);
388 return {};
389 },
390 async httpRequestChunk(
391 params: LlmInferenceHttpRequestChunkRequest
392 ): Promise<LlmInferenceHttpRequestChunkResult> {

Callers

nothing calls this directly

Calls 3

getOrCreateFunction · 0.85
runFunction · 0.85
setContextMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…