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

Method constructor

src/sdk/client.ts:12–27  ·  view source on GitHub ↗
(options: MiniMaxSDKOptions)

Source from the content-addressed store, hash-verified

10 protected config: Config;
11
12 constructor(options: MiniMaxSDKOptions) {
13 const { apiKey, region, baseUrl } = options;
14 this.config = loadConfig({
15 apiKey,
16 baseUrl,
17 region,
18 quiet: true,
19 verbose: false,
20 noColor: true,
21 yes: false,
22 dryRun: false,
23 help: false,
24 nonInteractive: false,
25 async: false,
26 });
27 }
28
29 protected request(opts: RequestOpts) {
30 return requestClient(this.config, opts);

Callers

nothing calls this directly

Calls 1

loadConfigFunction · 0.90

Tested by

no test coverage detected