MCPcopy Index your code
hub / github.com/CopilotKit/CopilotKit / headersOf

Function headersOf

packages/shared/src/telemetry/lambda-client.test.ts:26–29  ·  view source on GitHub ↗
(callIdx = 0)

Source from the content-addressed store, hash-verified

24 }
25
26 function headersOf(callIdx = 0): Record<string, string> {
27 const init = fetchMock.mock.calls[callIdx][1] as RequestInit;
28 return init.headers as Record<string, string>;
29 }
30
31 test("strips cloud.public_api_key from properties before sending", async () => {
32 await send({

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…