MCPcopy Index your code
hub / github.com/MiniMax-AI/cli / makeSpeechResponse

Function makeSpeechResponse

test/sdk/speech.test.ts:10–18  ·  view source on GitHub ↗
(hexAudio?: string)

Source from the content-addressed store, hash-verified

8import type { SpeechResponse } from '../../src/types/api';
9
10function makeSpeechResponse(hexAudio?: string): SpeechResponse {
11 return {
12 base_resp: { status_code: 0, status_msg: 'ok' },
13 data: {
14 audio: hexAudio || Buffer.from('hello speech audio').toString('hex'),
15 status: 0,
16 },
17 };
18}
19
20describe('MiniMaxSDK.speech', () => {
21 let server: MockServer;

Callers 1

speech.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected