@kenkaiiii/gg-core 5.90.0 → 5.91.0

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.
@@ -132,6 +132,7 @@ var MOONSHOT_OAUTH_KEY = "moonshot-oauth";
132
132
  var XIAOMI_CREDITS_KEY = "xiaomi-credits";
133
133
  var GEMINI_API_KEY = "gemini-api";
134
134
  var LOCAL_CREDENTIAL_LIFETIME_MS = 100 * 365 * 24 * 60 * 60 * 1e3;
135
+ var MINIMAX_REGION_RETRY_MS = 5 * 60 * 1e3;
135
136
  var USAGE_EXHAUSTED_DEFAULT_MS = 15 * 60 * 1e3;
136
137
 
137
138
  // src/model-registry.ts
@@ -671,6 +672,23 @@ var MODELS = [
671
672
  maxThinkingLevel: "max"
672
673
  },
673
674
  // ── MiniMax ────────────────────────────────────────────
675
+ {
676
+ // The only text model M Plan / Token Plan keys cover; MiniMax-M3 on those
677
+ // keys fails with "insufficient balance (1008)". Pay-as-you-go serves both.
678
+ // Always thinks (`thinking: disabled` 400s; omitted = on) with a real
679
+ // low→max effort ladder on output_config.effort, API default max.
680
+ id: "MiniMax-M3.1-Flash",
681
+ name: "MiniMax M3.1 Flash",
682
+ provider: "minimax",
683
+ contextWindow: 1e6,
684
+ maxOutputTokens: 131072,
685
+ supportsThinking: true,
686
+ supportsImages: true,
687
+ supportsVideo: true,
688
+ maxVideoBytes: 50 * 1024 * 1024,
689
+ costTier: "low",
690
+ maxThinkingLevel: "max"
691
+ },
674
692
  {
675
693
  id: "MiniMax-M3",
676
694
  name: "MiniMax M3",
@@ -921,7 +939,7 @@ var DEFAULT_MODEL_IDS = {
921
939
  gemini: "gemini-3.1-flash-lite",
922
940
  glm: "glm-5.3",
923
941
  moonshot: "kimi-k3",
924
- minimax: "MiniMax-M3",
942
+ minimax: "MiniMax-M3.1-Flash",
925
943
  deepseek: "deepseek-v4-pro",
926
944
  huggingface: "moonshotai/Kimi-K2.7-Code",
927
945
  openrouter: "qwen/qwen3.8-max",