MCPcopy
hub / github.com/simstudioai/sim / extractEnvelopeRequestId

Function extractEnvelopeRequestId

apps/sim/app/api/copilot/chat/stream/route.ts:56–58  ·  view source on GitHub ↗
(envelope: { trace?: { requestId?: unknown } })

Source from the content-addressed store, hash-verified

54}
55
56function extractEnvelopeRequestId(envelope: { trace?: { requestId?: unknown } }): string {
57 return extractCanonicalRequestId(envelope.trace?.requestId)
58}
59
60function isTerminalStatus(
61 status: string | null | undefined

Callers 2

flushEventsFunction · 0.85
startInnerFunction · 0.85

Calls 1

Tested by

no test coverage detected