MCPcopy Index your code
hub / github.com/simstudioai/sim / traceparentHeader

Function traceparentHeader

apps/sim/lib/copilot/tools/client/trace-context.ts:14–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13// `fetch` header spread: `headers: { ...traceparentHeader(), ... }`.
14export function traceparentHeader(): Record<string, string> {
15 const tp = currentTraceparent
16 return tp ? { traceparent: tp } : {}
17}

Callers 1

sendFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected