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

Method extractMessage

app/client/platforms/siliconflow.ts:76–78  ·  view source on GitHub ↗
(res: any)

Source from the content-addressed store, hash-verified

74 }
75
76 extractMessage(res: any) {
77 return res.choices?.at(0)?.message?.content ?? "";
78 }
79
80 speech(options: SpeechOptions): Promise<ArrayBuffer> {
81 throw new Error("Method not implemented.");

Callers 1

chatMethod · 0.95

Calls 1

atMethod · 0.80

Tested by

no test coverage detected