@hifullmoon/aicommit 2.6.9 → 2.6.10
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 +8 -1
- package/docs/distribution.md +1 -1
- package/package.json +1 -1
- package/src/providers.js +8 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ This file lists notable user-facing changes. Internal refactors, test-only chang
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [2.6.10] - 2026-10-21
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- MiniMax M3.1 models retain their required thinking mode during follow-up requests, preventing split planning from failing with HTTP 400 when thinking is disabled.
|
|
12
|
+
|
|
7
13
|
## [2.6.9] - 2026-10-08
|
|
8
14
|
|
|
9
15
|
### Fixed
|
|
@@ -296,7 +302,8 @@ This file lists notable user-facing changes. Internal refactors, test-only chang
|
|
|
296
302
|
- Added file-level split planning and execution with Git-state concurrency checks.
|
|
297
303
|
- Added provider presets and user/project configuration boundaries.
|
|
298
304
|
|
|
299
|
-
[Unreleased]: https://github.com/hi-fullmoon/AICommit/compare/v2.6.
|
|
305
|
+
[Unreleased]: https://github.com/hi-fullmoon/AICommit/compare/v2.6.10...HEAD
|
|
306
|
+
[2.6.10]: https://github.com/hi-fullmoon/AICommit/tree/v2.6.10
|
|
300
307
|
[2.6.9]: https://github.com/hi-fullmoon/AICommit/tree/v2.6.9
|
|
301
308
|
[2.6.8]: https://github.com/hi-fullmoon/AICommit/tree/v2.6.8
|
|
302
309
|
[2.6.7]: https://github.com/hi-fullmoon/AICommit/tree/v2.6.7
|
package/docs/distribution.md
CHANGED
|
@@ -33,7 +33,7 @@ The release workflow uses npm Trusted Publishing without a long-lived `NPM_TOKEN
|
|
|
33
33
|
```bash
|
|
34
34
|
workdir=$(mktemp -d)
|
|
35
35
|
cd "$workdir"
|
|
36
|
-
npm install --package-lock-only @hifullmoon/aicommit@2.6.
|
|
36
|
+
npm install --package-lock-only @hifullmoon/aicommit@2.6.10
|
|
37
37
|
npm audit signatures
|
|
38
38
|
```
|
|
39
39
|
|
package/package.json
CHANGED
package/src/providers.js
CHANGED
|
@@ -133,6 +133,11 @@ export function reasoningEffortsForModel(providerType, modelId) {
|
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
export function canDisableReasoningForModel(providerType, modelId) {
|
|
136
|
+
if (
|
|
137
|
+
(providerType || '').toLowerCase() === 'minimax' &&
|
|
138
|
+
/^minimax-m3\.1(?:-|$)/i.test(modelId || '')
|
|
139
|
+
)
|
|
140
|
+
return false;
|
|
136
141
|
const known = catalogModel((providerType || '').toLowerCase(), modelId);
|
|
137
142
|
return !known || getSupportedThinkingLevels(known).includes('off');
|
|
138
143
|
}
|
|
@@ -230,7 +235,8 @@ export function getProviderAdapter({ apiUrl, providerType = '', modelId = '' })
|
|
|
230
235
|
} else if (provider === 'minimax') {
|
|
231
236
|
payload.reasoning_split = true;
|
|
232
237
|
delete payload.enable_thinking;
|
|
233
|
-
if (mode === 'off'
|
|
238
|
+
if (mode === 'off' && canDisableReasoningForModel(provider, modelId))
|
|
239
|
+
payload.thinking = { type: 'disabled' };
|
|
234
240
|
else delete payload.thinking;
|
|
235
241
|
} else if (nativeOllama) {
|
|
236
242
|
payload.think = mode === 'on';
|
|
@@ -250,6 +256,7 @@ export function getProviderAdapter({ apiUrl, providerType = '', modelId = '' })
|
|
|
250
256
|
},
|
|
251
257
|
reasoningForFollowUp(reasoning) {
|
|
252
258
|
if (reasoning?.mode !== 'on') return reasoning;
|
|
259
|
+
if (!canDisableReasoningForModel(provider, modelId)) return reasoning;
|
|
253
260
|
if (provider !== 'custom' && canDisableReasoningForModel(provider, modelId))
|
|
254
261
|
return { ...reasoning, mode: 'off' };
|
|
255
262
|
if (reasoning.disabledBody !== undefined) return { ...reasoning, mode: 'off' };
|