MCPcopy
hub / github.com/ChatGPTNextWeb/NextChat / extractMessage

Method extractMessage

app/client/platforms/moonshot.ts:59–61  ·  view source on GitHub ↗
(res: any)

Source from the content-addressed store, hash-verified

57 }
58
59 extractMessage(res: any) {
60 return res.choices?.at(0)?.message?.content ?? "";
61 }
62
63 speech(options: SpeechOptions): Promise<ArrayBuffer> {
64 throw new Error("Method not implemented.");

Callers 1

chatMethod · 0.95

Calls 1

atMethod · 0.80

Tested by

no test coverage detected