MCPcopy
hub / github.com/MiniMax-AI/cli / makeUrlResponse

Function makeUrlResponse

test/sdk/image.test.ts:22–32  ·  view source on GitHub ↗
(urls: string[])

Source from the content-addressed store, hash-verified

20}
21
22function makeUrlResponse(urls: string[]): ImageResponse {
23 return {
24 base_resp: { status_code: 0, status_msg: 'ok' },
25 data: {
26 image_urls: urls,
27 task_id: 'task-123',
28 success_count: urls.length,
29 failed_count: 0,
30 },
31 };
32}
33
34describe('MiniMaxSDK.image', () => {
35 let server: MockServer;

Callers 1

image.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected