@oh-my-pi/pi-catalog 16.1.19 → 16.1.20
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 +6 -0
- package/package.json +3 -3
- package/src/model-thinking.ts +9 -2
- package/src/models.json +19 -19
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [16.1.20] - 2026-06-25
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Fixed direct Anthropic Claude Sonnet/Haiku 4.5 advisor/agent turns crashing every call with HTTP 400 `This model does not support the effort parameter.` The catalog classified the whole Claude 4.5 family on `anthropic-messages` (and `bedrock-converse-stream`) as `anthropic-budget-effort`, which made the Anthropic provider serialize `output_config.effort` alongside `thinking.budget_tokens`. Anthropic only honors `output_config.effort` on Opus 4.5 and adaptive (4.6+) Messages-API models, so Sonnet 4.5 / Haiku 4.5 rejected the field. `inferThinkingControlMode` now gates `anthropic-budget-effort` to `parsedModel.kind === "opus" && semverGte(version, "4.5")` on both Anthropic-routed APIs, so Sonnet 4.5 / Haiku 4.5 on direct Anthropic + Cloudflare-AI-Gateway + Vertex + GitLab-Duo + Copilot + Bedrock fall through to plain `mode: "budget"` (thinking budget still scales with the selected effort tier). Opus 4.5 keeps `anthropic-budget-effort`. `anthropic-budget-effort` also stays in use for Anthropic-compatible third-party backends that natively support the field (Umans GLM 5.2). ([#3497](https://github.com/can1357/oh-my-pi/issues/3497))
|
|
10
|
+
|
|
5
11
|
## [16.1.17] - 2026-06-24
|
|
6
12
|
|
|
7
13
|
### Fixed
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@oh-my-pi/pi-catalog",
|
|
4
|
-
"version": "16.1.
|
|
4
|
+
"version": "16.1.20",
|
|
5
5
|
"description": "Model catalog for omp: bundled model database, provider discovery descriptors, model identity, classification, and equivalence",
|
|
6
6
|
"homepage": "https://omp.sh",
|
|
7
7
|
"author": "Can Boluk",
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@bufbuild/protobuf": "^2.12.0",
|
|
37
|
-
"@oh-my-pi/pi-utils": "16.1.
|
|
37
|
+
"@oh-my-pi/pi-utils": "16.1.20",
|
|
38
38
|
"arktype": "^2.2.0",
|
|
39
39
|
"zod": "^4"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@oh-my-pi/pi-ai": "16.1.
|
|
42
|
+
"@oh-my-pi/pi-ai": "16.1.20",
|
|
43
43
|
"@types/bun": "^1.3.14"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
package/src/model-thinking.ts
CHANGED
|
@@ -589,7 +589,11 @@ function inferThinkingControlMode<TApi extends Api>(
|
|
|
589
589
|
if (semverGte(parsedModel.version, "4.6")) {
|
|
590
590
|
return "anthropic-adaptive";
|
|
591
591
|
}
|
|
592
|
-
|
|
592
|
+
// Opus 4.5 supports `output_config.effort` (sent alongside
|
|
593
|
+
// `thinking.budget_tokens`); Sonnet 4.5 and Haiku 4.5 reject the
|
|
594
|
+
// field with HTTP 400 "This model does not support the effort
|
|
595
|
+
// parameter." (#3497).
|
|
596
|
+
if (parsedModel.kind === "opus" && semverGte(parsedModel.version, "4.5")) {
|
|
593
597
|
return "anthropic-budget-effort";
|
|
594
598
|
}
|
|
595
599
|
}
|
|
@@ -603,7 +607,10 @@ function inferThinkingControlMode<TApi extends Api>(
|
|
|
603
607
|
) {
|
|
604
608
|
return "anthropic-adaptive";
|
|
605
609
|
}
|
|
606
|
-
|
|
610
|
+
// Opus 4.5 on Bedrock metadata mirrors the direct-Anthropic
|
|
611
|
+
// shape; the Bedrock provider still emits plain budget thinking
|
|
612
|
+
// on the wire for the budget-effort mode.
|
|
613
|
+
if (parsedModel.kind === "opus" && semverGte(parsedModel.version, "4.5")) {
|
|
607
614
|
return "anthropic-budget-effort";
|
|
608
615
|
}
|
|
609
616
|
}
|
package/src/models.json
CHANGED
|
@@ -7965,7 +7965,7 @@
|
|
|
7965
7965
|
"contextWindow": 200000,
|
|
7966
7966
|
"maxTokens": 64000,
|
|
7967
7967
|
"thinking": {
|
|
7968
|
-
"mode": "
|
|
7968
|
+
"mode": "budget",
|
|
7969
7969
|
"efforts": [
|
|
7970
7970
|
"minimal",
|
|
7971
7971
|
"low",
|
|
@@ -7994,7 +7994,7 @@
|
|
|
7994
7994
|
"contextWindow": 1000000,
|
|
7995
7995
|
"maxTokens": 128000,
|
|
7996
7996
|
"thinking": {
|
|
7997
|
-
"mode": "
|
|
7997
|
+
"mode": "budget",
|
|
7998
7998
|
"efforts": [
|
|
7999
7999
|
"minimal",
|
|
8000
8000
|
"low",
|
|
@@ -8569,7 +8569,7 @@
|
|
|
8569
8569
|
"contextWindow": 200000,
|
|
8570
8570
|
"maxTokens": 64000,
|
|
8571
8571
|
"thinking": {
|
|
8572
|
-
"mode": "
|
|
8572
|
+
"mode": "budget",
|
|
8573
8573
|
"efforts": [
|
|
8574
8574
|
"minimal",
|
|
8575
8575
|
"low",
|
|
@@ -8598,7 +8598,7 @@
|
|
|
8598
8598
|
"contextWindow": 1000000,
|
|
8599
8599
|
"maxTokens": 64000,
|
|
8600
8600
|
"thinking": {
|
|
8601
|
-
"mode": "
|
|
8601
|
+
"mode": "budget",
|
|
8602
8602
|
"efforts": [
|
|
8603
8603
|
"minimal",
|
|
8604
8604
|
"low",
|
|
@@ -8882,7 +8882,7 @@
|
|
|
8882
8882
|
"contextWindow": 200000,
|
|
8883
8883
|
"maxTokens": 64000,
|
|
8884
8884
|
"thinking": {
|
|
8885
|
-
"mode": "
|
|
8885
|
+
"mode": "budget",
|
|
8886
8886
|
"efforts": [
|
|
8887
8887
|
"minimal",
|
|
8888
8888
|
"low",
|
|
@@ -8911,7 +8911,7 @@
|
|
|
8911
8911
|
"contextWindow": 1000000,
|
|
8912
8912
|
"maxTokens": 64000,
|
|
8913
8913
|
"thinking": {
|
|
8914
|
-
"mode": "
|
|
8914
|
+
"mode": "budget",
|
|
8915
8915
|
"efforts": [
|
|
8916
8916
|
"minimal",
|
|
8917
8917
|
"low",
|
|
@@ -9050,7 +9050,7 @@
|
|
|
9050
9050
|
"contextWindow": 200000,
|
|
9051
9051
|
"maxTokens": 64000,
|
|
9052
9052
|
"thinking": {
|
|
9053
|
-
"mode": "
|
|
9053
|
+
"mode": "budget",
|
|
9054
9054
|
"efforts": [
|
|
9055
9055
|
"minimal",
|
|
9056
9056
|
"low",
|
|
@@ -9079,7 +9079,7 @@
|
|
|
9079
9079
|
"contextWindow": 1000000,
|
|
9080
9080
|
"maxTokens": 64000,
|
|
9081
9081
|
"thinking": {
|
|
9082
|
-
"mode": "
|
|
9082
|
+
"mode": "budget",
|
|
9083
9083
|
"efforts": [
|
|
9084
9084
|
"minimal",
|
|
9085
9085
|
"low",
|
|
@@ -10361,7 +10361,7 @@
|
|
|
10361
10361
|
"contextWindow": 200000,
|
|
10362
10362
|
"maxTokens": 64000,
|
|
10363
10363
|
"thinking": {
|
|
10364
|
-
"mode": "
|
|
10364
|
+
"mode": "budget",
|
|
10365
10365
|
"efforts": [
|
|
10366
10366
|
"minimal",
|
|
10367
10367
|
"low",
|
|
@@ -10390,7 +10390,7 @@
|
|
|
10390
10390
|
"contextWindow": 1000000,
|
|
10391
10391
|
"maxTokens": 64000,
|
|
10392
10392
|
"thinking": {
|
|
10393
|
-
"mode": "
|
|
10393
|
+
"mode": "budget",
|
|
10394
10394
|
"efforts": [
|
|
10395
10395
|
"minimal",
|
|
10396
10396
|
"low",
|
|
@@ -11272,7 +11272,7 @@
|
|
|
11272
11272
|
"contextWindow": 200000,
|
|
11273
11273
|
"maxTokens": 64000,
|
|
11274
11274
|
"thinking": {
|
|
11275
|
-
"mode": "
|
|
11275
|
+
"mode": "budget",
|
|
11276
11276
|
"efforts": [
|
|
11277
11277
|
"minimal",
|
|
11278
11278
|
"low",
|
|
@@ -11302,7 +11302,7 @@
|
|
|
11302
11302
|
"contextWindow": 200000,
|
|
11303
11303
|
"maxTokens": 64000,
|
|
11304
11304
|
"thinking": {
|
|
11305
|
-
"mode": "
|
|
11305
|
+
"mode": "budget",
|
|
11306
11306
|
"efforts": [
|
|
11307
11307
|
"minimal",
|
|
11308
11308
|
"low",
|
|
@@ -12859,7 +12859,7 @@
|
|
|
12859
12859
|
"contextWindow": 200000,
|
|
12860
12860
|
"maxTokens": 64000,
|
|
12861
12861
|
"thinking": {
|
|
12862
|
-
"mode": "
|
|
12862
|
+
"mode": "budget",
|
|
12863
12863
|
"efforts": [
|
|
12864
12864
|
"minimal",
|
|
12865
12865
|
"low",
|
|
@@ -12921,7 +12921,7 @@
|
|
|
12921
12921
|
"contextWindow": 1000000,
|
|
12922
12922
|
"maxTokens": 64000,
|
|
12923
12923
|
"thinking": {
|
|
12924
|
-
"mode": "
|
|
12924
|
+
"mode": "budget",
|
|
12925
12925
|
"efforts": [
|
|
12926
12926
|
"minimal",
|
|
12927
12927
|
"low",
|
|
@@ -16750,7 +16750,7 @@
|
|
|
16750
16750
|
"X-GitHub-Api-Version": "2026-06-01"
|
|
16751
16751
|
},
|
|
16752
16752
|
"thinking": {
|
|
16753
|
-
"mode": "
|
|
16753
|
+
"mode": "budget",
|
|
16754
16754
|
"efforts": [
|
|
16755
16755
|
"minimal",
|
|
16756
16756
|
"low",
|
|
@@ -19846,7 +19846,7 @@
|
|
|
19846
19846
|
"contextWindow": 200000,
|
|
19847
19847
|
"maxTokens": 64000,
|
|
19848
19848
|
"thinking": {
|
|
19849
|
-
"mode": "
|
|
19849
|
+
"mode": "budget",
|
|
19850
19850
|
"efforts": [
|
|
19851
19851
|
"minimal",
|
|
19852
19852
|
"low",
|
|
@@ -59487,7 +59487,7 @@
|
|
|
59487
59487
|
"contextWindow": 1000000,
|
|
59488
59488
|
"maxTokens": 64000,
|
|
59489
59489
|
"thinking": {
|
|
59490
|
-
"mode": "
|
|
59490
|
+
"mode": "budget",
|
|
59491
59491
|
"efforts": [
|
|
59492
59492
|
"minimal",
|
|
59493
59493
|
"low",
|
|
@@ -75664,7 +75664,7 @@
|
|
|
75664
75664
|
"contextWindow": 1000000,
|
|
75665
75665
|
"maxTokens": 64000,
|
|
75666
75666
|
"thinking": {
|
|
75667
|
-
"mode": "
|
|
75667
|
+
"mode": "budget",
|
|
75668
75668
|
"efforts": [
|
|
75669
75669
|
"minimal",
|
|
75670
75670
|
"low",
|
|
@@ -82640,7 +82640,7 @@
|
|
|
82640
82640
|
"contextWindow": 1000000,
|
|
82641
82641
|
"maxTokens": 64000,
|
|
82642
82642
|
"thinking": {
|
|
82643
|
-
"mode": "
|
|
82643
|
+
"mode": "budget",
|
|
82644
82644
|
"efforts": [
|
|
82645
82645
|
"minimal",
|
|
82646
82646
|
"low",
|