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

File route.ts

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 10

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
parseRequestFunction · 0.90
getMothershipBaseURLFunction · 0.90
fetchGoFunction · 0.90
toErrorFunction · 0.90
isRawAvailableModelFunction · 0.85
errorMethod · 0.80
warnMethod · 0.65

Tested by

no test coverage detected