MCPcopy Create free account
hub / github.com/Bytez-com/docs / Response

Interface Response

sdk/javascript/src/interface/Client.ts:25–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 json?: boolean;
24};
25export interface Response {
26 /**
27 * If an error occurs during the operation, "error" is returned, and the "output" is usually null.
28 */
29 error: string | null;
30
31 /**
32 * If the operation is successful, the "error" argument is null, and the "output" argument contains the result of the operation.
33 *
34 * When running models, the output may be a number, string, vector, audio file, or whatever the model generated
35 *
36 */
37 output: any | null;
38}

Callers 1

requestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected