(options: MiniMaxSDKOptions)
| 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); |
nothing calls this directly
no test coverage detected