MCPcopy
hub / github.com/simstudioai/sim / route.ts

File route.ts

apps/sim/app/api/copilot/chat/stream/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { type Context, context as otelContext, type Span, trace } from '@opentelemetry/api'
2import { createLogger } from '@sim/logger'
3import { getErrorMessage } from '@sim/utils/errors'
4import { sleep } from '@sim/utils/helpers'

Callers

nothing calls this directly

Calls 9

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
parseRequestFunction · 0.90
getCopilotTracerFunction · 0.90
markSpanForErrorFunction · 0.90
handleResumeRequestBodyFunction · 0.85
startSpanMethod · 0.80

Tested by

no test coverage detected