MCPcopy Index your code
hub / github.com/github/copilot-sdk / provider

Function provider

nodejs/test/telemetry.test.ts:19–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17
18 it("calls provider and returns trace context", async () => {
19 const provider: TraceContextProvider = () => ({
20 traceparent: "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01",
21 tracestate: "congo=t61rcWkgMzE",
22 });
23 const ctx = await getTraceContext(provider);
24 expect(ctx).toEqual({
25 traceparent: "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01",

Callers 1

getTraceContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…