@oh-my-pi/pi-catalog 18.12.2 → 18.12.3

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/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [18.12.3] - 2026-10-19
6
+
7
+ ### Changed
8
+
9
+ - MiniMax `MiniMax-M3.1-Flash` (the launch id) now gets the always-on `low`–`max` thinking the bundled `MiniMax-M3.1-Flash-Preview` rows have, and omits sampling params (`temperature`, `top_p`, `top_k`) it rejects ([#16315](https://github.com/can1357/oh-my-pi/pull/16315) by [@SaladDay](https://github.com/SaladDay))
10
+
11
+ ### Fixed
12
+
13
+ - Gemma 4 models on Google AI Studio (`google/gemma-4-31b-it`, `google/gemma-4-26b-a4b-it`, …) no longer fail every request with `Thinking budget is not supported for this model`; thinking is now toggled with `thinkingLevel` (on = `high`, off = `minimal`) ([#16350](https://github.com/can1357/oh-my-pi/issues/16350))
14
+
5
15
  ## [18.12.2] - 2026-10-18
6
16
 
7
17
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oh-my-pi/pi-catalog",
3
- "version": "18.12.2",
3
+ "version": "18.12.3",
4
4
  "description": "Model catalog for omp: bundled model database, provider discovery descriptors, model identity, classification, and equivalence",
5
5
  "keywords": [
6
6
  "ai",
@@ -93,12 +93,12 @@
93
93
  "gen:proto": "bun scripts/generate-protocols.ts"
94
94
  },
95
95
  "dependencies": {
96
- "@oh-my-pi/omptype": "18.12.2",
97
- "@oh-my-pi/pi-utils": "18.12.2"
96
+ "@oh-my-pi/omptype": "18.12.3",
97
+ "@oh-my-pi/pi-utils": "18.12.3"
98
98
  },
99
99
  "devDependencies": {
100
100
  "@bgotink/kdl": "0.4.0",
101
- "@oh-my-pi/pi-ai": "18.12.2",
101
+ "@oh-my-pi/pi-ai": "18.12.3",
102
102
  "@types/bun": "^1.3.14"
103
103
  },
104
104
  "engines": {
@@ -11,4 +11,15 @@ class "gemma" {
11
11
  on "google" "vercel-ai-gateway" {
12
12
  thinking-mode "budget"
13
13
  }
14
+ // Gemma 4 on the Gemini API toggles thinking only through `thinkingLevel`
15
+ // (`HIGH` on, `MINIMAL` off) and rejects any `thinkingBudget` with a 400
16
+ // (https://ai.google.dev/gemma/docs/core/gemma_on_gemini_api#thinking).
17
+ // Off must be sent explicitly as `MINIMAL` rather than omitting the config.
18
+ on "google" {
19
+ revision ">=4" {
20
+ thinking-mode "google-level"
21
+ thinking-efforts "high"
22
+ thinking-suppress-when-off #true
23
+ }
24
+ }
14
25
  }
@@ -81,15 +81,17 @@ class "minimax" {
81
81
  thinking-efforts "low" "medium" "high"
82
82
  }
83
83
  }
84
- // MiniMax-M3.1-Flash-Preview always thinks (`thinking.type: "disabled"` and
85
- // effort `none` 400 with error 2013) and tunes depth through
86
- // `output_config.effort` from `low` to `max` (the default when omitted).
87
- // The identity map replaces the M3 family's adaptive-tag-only map so each
88
- // level reaches the wire. Like the M2 family, thinking cannot be turned off:
89
- // `thinking-requires-effort` hides the off level and clamps forced-off
90
- // requests to the lowest effort instead of sending `disabled`.
84
+ // MiniMax-M3.1-Flash (and its bundled `-Preview` id) always thinks
85
+ // (`thinking.type: "disabled"` and effort `none` 400 with error 2013) and
86
+ // tunes depth through `output_config.effort` from `low` to `max` (the
87
+ // default when omitted). The identity map replaces the M3 family's
88
+ // adaptive-tag-only map so each level reaches the wire. Like the M2 family,
89
+ // thinking cannot be turned off: `thinking-requires-effort` hides the off
90
+ // level and clamps forced-off requests to the lowest effort instead of
91
+ // sending `disabled`. The launch id also rejects sampling params
92
+ // (`temperature`, `top_p`, `top_k`).
91
93
  on "minimax" "minimax-cn" "minimax-code" "minimax-code-cn" {
92
- models "MiniMax-M3.1-Flash-Preview" {
94
+ models "MiniMax-M3.1-Flash" "MiniMax-M3.1-Flash-Preview" {
93
95
  thinking-requires-effort #true
94
96
  thinking-efforts "low" "medium" "high" "xhigh" "max"
95
97
  thinking-effort-map {
@@ -98,6 +100,9 @@ class "minimax" {
98
100
  high "high"
99
101
  }
100
102
  }
103
+ models "MiniMax-M3.1-Flash" {
104
+ supports-sampling-params #false
105
+ }
101
106
  }
102
107
  // Token Plan rows ride the Anthropic route; these OpenAI-only wire axes
103
108
  // serve the legacy lightning rows that stay on the OpenAI-compatible one.