MCPcopy
hub / github.com/LAION-AI/Open-Assistant / tos.ts

File tos.ts

website/src/pages/api/tos.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { withoutRole } from "src/lib/auth";
2import { createApiClientFromUser } from "src/lib/oasst_client_factory";
3import { getBackendUserCore } from "src/lib/users";
4

Callers

nothing calls this directly

Calls 6

withoutRoleFunction · 0.90
getBackendUserCoreFunction · 0.90
createApiClientFromUserFunction · 0.90
fetch_frontend_userMethod · 0.80
set_tos_acceptanceMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected