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

File vote.ts

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

Source from the content-addressed store, hash-verified

1import { withoutRole } from "src/lib/auth";
2import { isChatEnable } from "src/lib/isChatEnable";
3import { createInferenceClient } from "src/lib/oasst_inference_client";
4

Callers

nothing calls this directly

Calls 6

withoutRoleFunction · 0.90
isChatEnableFunction · 0.90
createInferenceClientFunction · 0.90
endMethod · 0.80
sendMethod · 0.80
voteMethod · 0.45

Tested by

no test coverage detected