@p-sw/brainbox 0.1.2-alpha.3 → 0.1.2-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +15 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1103,7 +1103,20 @@ class MiniMaxExecutor extends OpenAICompatibleExecutor {
|
|
|
1103
1103
|
constructor(opts) {
|
|
1104
1104
|
super({
|
|
1105
1105
|
providerName: "minimax",
|
|
1106
|
-
baseURL: "https://api.minimax.
|
|
1106
|
+
baseURL: "https://api.minimax.io/v1",
|
|
1107
|
+
apiKey: opts.apiKey,
|
|
1108
|
+
conversationModel: opts.conversationModel,
|
|
1109
|
+
identityModel: opts.identityModel
|
|
1110
|
+
});
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
// src/provider/providers/minimax_cn.ts
|
|
1115
|
+
class MiniMaxCnExecutor extends OpenAICompatibleExecutor {
|
|
1116
|
+
constructor(opts) {
|
|
1117
|
+
super({
|
|
1118
|
+
providerName: "minimax-cn",
|
|
1119
|
+
baseURL: "https://api.minimaxi.com/v1",
|
|
1107
1120
|
apiKey: opts.apiKey,
|
|
1108
1121
|
conversationModel: opts.conversationModel,
|
|
1109
1122
|
identityModel: opts.identityModel
|
|
@@ -2242,6 +2255,7 @@ register("gmi", GmiExecutor);
|
|
|
2242
2255
|
register("zai", ZaiExecutor);
|
|
2243
2256
|
register("zenmux", ZenMuxExecutor);
|
|
2244
2257
|
register("minimax", MiniMaxExecutor);
|
|
2258
|
+
register("minimax-cn", MiniMaxCnExecutor);
|
|
2245
2259
|
register("ionet", IoNetExecutor);
|
|
2246
2260
|
register("baseten", BasetenExecutor);
|
|
2247
2261
|
register("cortecs", CortecsExecutor);
|