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

File update_task.ts

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

Source from the content-addressed store, hash-verified

1import { Prisma } from "@prisma/client";
2import { withoutRole } from "src/lib/auth";
3import { getLanguageFromRequest } from "src/lib/languages";
4import { createApiClient } from "src/lib/oasst_client_factory";

Callers

nothing calls this directly

Calls 8

withoutRoleFunction · 0.90
getLanguageFromRequestFunction · 0.90
createApiClientFunction · 0.90
getBackendUserCoreFunction · 0.90
ackTaskMethod · 0.80
interactTaskMethod · 0.80
sendMethod · 0.80
createMethod · 0.45

Tested by

no test coverage detected