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

File prompter_message.ts

website/src/pages/api/chat/prompter_message.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";
4import { InferencePostPrompterMessageParams } from "src/types/Chat";

Callers

nothing calls this directly

Calls 5

withoutRoleFunction · 0.90
isChatEnableFunction · 0.90
createInferenceClientFunction · 0.90
endMethod · 0.80
post_prompter_messageMethod · 0.45

Tested by

no test coverage detected