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

File route.ts

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

Source from the content-addressed store, hash-verified

1import { createLogger } from '@sim/logger'
2import { generateId } from '@sim/utils/id'
3import { type NextRequest, NextResponse } from 'next/server'
4import { copilotChatStopContract } from '@/lib/api/contracts/copilot'

Callers

nothing calls this directly

Calls 9

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
withIncomingGoSpanFunction · 0.90
parseRequestFunction · 0.90
withStoppedContentBlockFunction · 0.90
normalizeMessageFunction · 0.90
generateIdFunction · 0.90
finalizeAssistantTurnFunction · 0.90
errorMethod · 0.80

Tested by

no test coverage detected