mmx-cli 1.0.27 → 1.0.28

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/sdk.mjs CHANGED
@@ -876,6 +876,9 @@ function fileDeleteEndpoint(baseUrl) {
876
876
  return `${baseUrl}/v1/files/delete`;
877
877
  }
878
878
 
879
+ // src/config/models.ts
880
+ var DEFAULT_TEXT_MODEL = "MiniMax-M3.1-Flash-Preview";
881
+
879
882
  // src/sdk/text/index.ts
880
883
  class TextSDK extends Client {
881
884
  async* chatStream(body) {
@@ -912,7 +915,7 @@ class TextSDK extends Client {
912
915
  }
913
916
  return {
914
917
  ...params,
915
- model: params.model ?? "MiniMax-M3",
918
+ model: params.model ?? DEFAULT_TEXT_MODEL,
916
919
  max_tokens: params.max_tokens ?? 4096
917
920
  };
918
921
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mmx-cli",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "description": "CLI for the MiniMax AI Platform",
5
5
  "type": "module",
6
6
  "repository": {