MCPcopy Index your code
hub / github.com/simstudioai/sim / route.ts

File route.ts

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

Source from the content-addressed store, hash-verified

1import { db } from '@sim/db'
2import { chat } from '@sim/db/schema'
3import { createLogger } from '@sim/logger'
4import { getErrorMessage } from '@sim/utils/errors'

Callers

nothing calls this directly

Calls 11

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
createErrorResponseFunction · 0.90
createSuccessResponseFunction · 0.90
getErrorMessageFunction · 0.90
parseRequestFunction · 0.90
performChatDeployFunction · 0.90
errorMethod · 0.80
eqFunction · 0.50

Tested by

no test coverage detected