@oh-my-pi/pi-catalog 18.4.9 → 18.4.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 +10 -0
- package/dist/types/provider-models/openai-compat.d.ts +0 -6
- package/package.json +4 -4
- package/src/compat/rules/classes/anthropic.kdl +27 -11
- package/src/compat/rules/runtime/behavior.kdl +10 -0
- package/src/compat/rules.json +1 -1
- package/src/models.json +1 -1
- package/src/provider-models/cache-provider-id.ts +3 -3
- package/src/provider-models/openai-compat.ts +30 -53
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [18.4.10] - 2026-10-02
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Fixed MiniMax Token Plan (`minimax-code`, `minimax-code-cn`) usage showing as free; turns now show the pay-as-you-go equivalent cost, with MiniMax-M3.1-Flash-Preview estimated at the MiniMax-M3 rate since it has no published price ([#13695](https://github.com/can1357/oh-my-pi/pull/13695) by [@eggpeat](https://github.com/eggpeat))
|
|
10
|
+
- Fixed namespaced LiteLLM models such as `azure/gpt-5.6-sol-pro` showing raw IDs instead of catalog display names when the proxy supplies no friendly name ([#13964](https://github.com/can1357/oh-my-pi/pull/13964) by [@gabrielrinaldi](https://github.com/gabrielrinaldi)).
|
|
11
|
+
- Bundled prompt-cache lifetimes are recomputed from current policy instead of being inherited from previous generated models ([#13966](https://github.com/can1357/oh-my-pi/pull/13966) by [@anatoli-tsinovoy](https://github.com/anatoli-tsinovoy)).
|
|
12
|
+
- Fixed HTTP 400 `messages.N.output_config: Extra inputs are not permitted` on later turns with Claude Sonnet 5.5, Opus 5, Opus 5.5, and Fable 5.1 on Google Vertex AI ([#13994](https://github.com/can1357/oh-my-pi/issues/13994))
|
|
13
|
+
- Fixed Claude Opus 5.5 conversations failing with a "bound to a different conversation" 400 after the system prompt changed. Opus 5.5 now gets Sonnet 5.5's prefix-bound thinking handling on every provider, and Bedrock asks the server to drop stale signed thinking instead of rejecting the request ([#14019](https://github.com/can1357/oh-my-pi/pull/14019) by [@nick-maderight](https://github.com/nick-maderight))
|
|
14
|
+
|
|
5
15
|
## [18.4.9] - 2026-10-01
|
|
6
16
|
|
|
7
17
|
### Fixed
|
|
@@ -159,12 +159,6 @@ export interface XaiModelManagerConfig {
|
|
|
159
159
|
baseUrl?: string;
|
|
160
160
|
fetch?: FetchImpl;
|
|
161
161
|
}
|
|
162
|
-
/**
|
|
163
|
-
* Mirrors exact public-model prices onto matching SuperGrok catalog rows.
|
|
164
|
-
* The >200K long-context tier itself is rule-owned (`classes/xai.kdl`
|
|
165
|
-
* `long-context-cost` multiplier axis) and derives at build time.
|
|
166
|
-
*/
|
|
167
|
-
export declare function applyXaiCatalogPricing(models: readonly ModelSpec[]): ModelSpec[];
|
|
168
162
|
export declare function xaiModelManagerOptions(config?: XaiModelManagerConfig): ModelManagerOptions<"openai-responses">;
|
|
169
163
|
export interface XaiOAuthModelManagerConfig {
|
|
170
164
|
apiKey?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oh-my-pi/pi-catalog",
|
|
3
|
-
"version": "18.4.
|
|
3
|
+
"version": "18.4.10",
|
|
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.4.
|
|
97
|
-
"@oh-my-pi/pi-utils": "18.4.
|
|
96
|
+
"@oh-my-pi/omptype": "18.4.10",
|
|
97
|
+
"@oh-my-pi/pi-utils": "18.4.10"
|
|
98
98
|
},
|
|
99
99
|
"devDependencies": {
|
|
100
100
|
"@bgotink/kdl": "0.4.0",
|
|
101
|
-
"@oh-my-pi/pi-ai": "18.4.
|
|
101
|
+
"@oh-my-pi/pi-ai": "18.4.10",
|
|
102
102
|
"@types/bun": "^1.3.14"
|
|
103
103
|
},
|
|
104
104
|
"engines": {
|
|
@@ -59,6 +59,13 @@ class "anthropic" {
|
|
|
59
59
|
// to be re-verified against the API before it inherits the restriction.
|
|
60
60
|
family "opus" {
|
|
61
61
|
revision ">=5.5 <6" {
|
|
62
|
+
// Opus 5.5 binds signed thinking to the exact preceding conversation, so a
|
|
63
|
+
// replay fails once the system prompt, tools or earlier messages change.
|
|
64
|
+
// Like the Sonnet 5.5 rule, this one spans every provider, so it changes
|
|
65
|
+
// pruning, implicit prompt refreshes and thinking replay everywhere. On
|
|
66
|
+
// Bedrock Converse it also sends `block_binding` with its beta.
|
|
67
|
+
// https://platform.claude.com/docs/en/build-with-claude/preserved-thinking
|
|
68
|
+
thinking-prefix-binding #true
|
|
62
69
|
supports-forced-tool-choice #false
|
|
63
70
|
}
|
|
64
71
|
}
|
|
@@ -84,9 +91,6 @@ class "anthropic" {
|
|
|
84
91
|
supports-mid-conversation-tool-changes #true
|
|
85
92
|
supports-turn-scoped-system #true
|
|
86
93
|
}
|
|
87
|
-
revision ">=5.1" {
|
|
88
|
-
supports-per-message-effort #true
|
|
89
|
-
}
|
|
90
94
|
}
|
|
91
95
|
family "mythos" {
|
|
92
96
|
revision ">=5" {
|
|
@@ -94,9 +98,6 @@ class "anthropic" {
|
|
|
94
98
|
supports-mid-conversation-tool-changes #true
|
|
95
99
|
supports-turn-scoped-system #true
|
|
96
100
|
}
|
|
97
|
-
revision ">=5.1" {
|
|
98
|
-
supports-per-message-effort #true
|
|
99
|
-
}
|
|
100
101
|
}
|
|
101
102
|
family "fable" {
|
|
102
103
|
revision ">=5.1" {
|
|
@@ -108,7 +109,6 @@ class "anthropic" {
|
|
|
108
109
|
supports-mid-conversation-system #true
|
|
109
110
|
supports-mid-conversation-tool-changes #true
|
|
110
111
|
supports-turn-scoped-system #true
|
|
111
|
-
supports-per-message-effort #true
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
family "opus" {
|
|
@@ -117,17 +117,33 @@ class "anthropic" {
|
|
|
117
117
|
supports-mid-conversation-tool-changes #true
|
|
118
118
|
supports-turn-scoped-system #true
|
|
119
119
|
}
|
|
120
|
-
revision ">=5" {
|
|
121
|
-
supports-per-message-effort #true
|
|
122
|
-
}
|
|
123
120
|
}
|
|
124
121
|
}
|
|
125
122
|
// Vertex rejects `thinking.block_binding` on Sonnet 5.5 with 400
|
|
126
|
-
// `thinking.adaptive.block_binding: Extra inputs are not permitted
|
|
123
|
+
// `thinking.adaptive.block_binding: Extra inputs are not permitted`, and
|
|
124
|
+
// per-message `output_config` with 400 `messages.N.output_config: Extra
|
|
125
|
+
// inputs are not permitted` (it takes no `output_config.effort` at all; see
|
|
126
|
+
// `supports-output-effort` in providers/google-vertex.kdl).
|
|
127
127
|
on "anthropic" "cloudflare-ai-gateway" {
|
|
128
|
+
family "fable" {
|
|
129
|
+
revision ">=5.1" {
|
|
130
|
+
supports-per-message-effort #true
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
family "mythos" {
|
|
134
|
+
revision ">=5.1" {
|
|
135
|
+
supports-per-message-effort #true
|
|
136
|
+
}
|
|
137
|
+
}
|
|
128
138
|
family "sonnet" {
|
|
129
139
|
revision ">=5.5" {
|
|
130
140
|
supports-thinking-binding-controls #true
|
|
141
|
+
supports-per-message-effort #true
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
family "opus" {
|
|
145
|
+
revision ">=5" {
|
|
146
|
+
supports-per-message-effort #true
|
|
131
147
|
}
|
|
132
148
|
}
|
|
133
149
|
}
|
|
@@ -357,6 +357,16 @@ behavior {
|
|
|
357
357
|
pricing-peer provider="xai-oauth" peers="xai" {
|
|
358
358
|
alias "grok-4.20-multi-agent-0309" peer-id="grok-4.20-multi-agent-beta-latest"
|
|
359
359
|
}
|
|
360
|
+
// Token Plan rows report zero cost upstream; like the Antigravity and
|
|
361
|
+
// SuperGrok rules above, they show the pay-as-you-go equivalent (Credits
|
|
362
|
+
// overflow is billed at the PAYG list price). MiniMax-M3.1-Flash-Preview has
|
|
363
|
+
// no published price and borrows the MiniMax-M3 rate as an estimate.
|
|
364
|
+
pricing-peer provider="minimax-code" peers="minimax" {
|
|
365
|
+
alias "MiniMax-M3.1-Flash-Preview" peer-id="MiniMax-M3"
|
|
366
|
+
}
|
|
367
|
+
pricing-peer provider="minimax-code-cn" peers="minimax-cn" "minimax" {
|
|
368
|
+
alias "MiniMax-M3.1-Flash-Preview" peer-id="MiniMax-M3"
|
|
369
|
+
}
|
|
360
370
|
hosted-default provider="zai-search" model="glm-4.7"
|
|
361
371
|
hosted-default provider="synthetic-search" model="auto"
|
|
362
372
|
}
|