@bastani/pi-ai 0.9.35-alpha.5 → 0.9.35
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
|
@@ -4,6 +4,23 @@ This package is a Bastani fork of `@earendil-works/pi-ai`. Upstream history at t
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.9.35] - 2026-10-13
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Added `personalizeOpenRouterCatalog()` to restrict OpenRouter chat catalogs to the models a key may use, with its context limits, output limits and prices from `/models/user`. Image and classifier models are preserved.
|
|
12
|
+
- Added `RefreshModelsContext.baseUrl` so catalog refreshes can use the registered provider's configured endpoint.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- Changed the `openai-codex/gpt-6.1-sol` catalog entry to a 500,000-token context window (up from 272,000) priced without a long-context tier on its base cost and its Fast and Ultrafast service tiers, following OpenAI's Codex & Work change for ChatGPT subscriptions. The `openai` GPT-6.1 Sol entry keeps its 272,000-token cap and long-context tier, and the other Codex models are unchanged.
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- Fixed Anthropic requests rejected by strict-tool capacity limits by retrying once with ordinary schemas for tools marked `strict: "prefer"`. Required strict tools remain unchanged.
|
|
21
|
+
- Fixed "The upstream provider returned an error" not being retried as a transient provider error ([#10842](https://github.com/earendil-works/pi/issues/10842)).
|
|
22
|
+
- Personalized OpenRouter catalogs now treat negative placeholder prices, such as those returned for `openrouter/auto`, as zero instead of negative token costs.
|
|
23
|
+
|
|
7
24
|
## [0.9.35-alpha.4] - 2026-10-13
|
|
8
25
|
|
|
9
26
|
### Added
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"schemaVersion":6,"generatedAt":"2026-10-
|
|
1
|
+
{"schemaVersion":6,"generatedAt":"2026-10-13T08:25:18.756Z","structureHash":"6d7b907611d709185513bdd85b3a964974b3ac522fff43356f6c320c4281413e","files":{"amazon-bedrock.json":"be629dd7c5c0b7ba27e7a335fb329df45b1107e2287b1a6c8e37e9cf46026c0b","ant-ling.json":"628feab3ef6c7d80ce96f75999804e1d9f05fec3851e5302e30fff3b69db90f6","anthropic.json":"fb1227cebe7df9ea801c2c98bcd28063796457c7d832bde94e1069ef723f5b8a","azure.json":"7ed02356b4481d76a213de14f704c9d4e52ba2ca73cc710b2e06ebe9cdf24929","baseten.json":"1fcdab8daf2881bd099eb08f9416f7df5bf39975937d2a63b841542bd032f2e6","cerebras.json":"3eccb58c5de3d0dc7ba49dc6e477ba29f00cb3150ce0a35cc90d59e6b5ab368e","cloudflare-ai-gateway.json":"f918c5f2503f3bb29abf20342ec1473a84c2b1fe69820c4e81234f19b6d50bb6","cloudflare-workers-ai.json":"98b9c8cb412139ae3f5d2f5e49134f8412ed4e139a12bf6cb3aeba38aacc6bb3","deepseek.json":"10a296fb3e898f7715c80890c8af0af4f5fd58f22dbcd6612fdc5d762157ccdc","fireworks.json":"8db3c11f65a5d76260d5040a5dc5a9ef0f35b92de8505a30907c2355c2837b36","github-copilot.json":"5b161b3bfdc5350fdbf8cb42e7c0a53e273913f49ff551fd9c69e2f15f21fd84","google-vertex.json":"96ecc19bf20a706f99ae658b021a0ee5438146119e1e99de5fd824a01fcfd81b","google.json":"64bdd2563cee0e3598aec4d93a6735c189b6d7d14b9c03f061cc2824f3730528","groq.json":"910952ad9dad07856983459d63fce0148dba1203edd7b10d801a77c5824f3405","huggingface.json":"6399e958790a9d90c21fb55d1cbef8569427a1ceb28de86dadeb3b4454ecfade","kimi-coding.json":"582250b920454d98940da3e7e99d30b807edbea28f2eb8ac15f658d2ef41e8fc","meta.json":"1dbea20a92b0127190092e85fc4deab800d11e94dc2f8a3388c498f0121b29e8","minimax-cn.json":"1bbfbd11c3edbd141841d3cef027e12157218f1aec92477e15772116c1fabe7a","minimax.json":"a4b6864bd97eddf5749b2e117f643e751ec237408e8e24bec9e2f947782fa244","mistral.json":"063879a9525c9d71c33308b46f70ab7ea3926c7cbe977d29b81df387acd60242","moonshotai-cn.json":"79c9585dc84ee525ebaebbc78b3c55f3d369ec884d4f943488f1e0b14e3587f5","moonshotai.json":"1da2c4e34f22aef17a07c974d85bdee8e1b68b6dc712e3769c935b3f1e7dadca","nvidia.json":"a75e963dc81779e3eec01c051b12277c15ec37c5b94ab51ece9e9ccb3b16407c","openai-codex.json":"dc82505193e712c78ff4695f18a2a67f903833335659bf943a45fc06306b0dbd","openai-decisions.json":"0c7d54fcbac5e7388872a85c0db7f336c5a57c82d403266e9ae04f87561daf4f","openai-images.json":"885b1c5ec4198ebe2b73518e61cbf989a7cad9229d01813635f361b29a909562","openai.json":"eb535625dec55314591fe9361c06c3efeee4a2f74586767e31439c9ec4b4659d","opencode-go.json":"6533158d0c6338b02c9af96912313135fb131b4ae715d7529c6046f6181ad703","opencode.json":"e860eb3724a693df0a062d1016fc6533f9923571dd808d98a4983845c23a1758","openrouter.json":"62a956870401f0ee12320d9cc091b99bc23b106c452790262ce867683c434cf3","qwen-token-plan-cn.json":"2469a4091c474ec3db0a49a9962d8d2726c074ad9065b96bc4e0c87861c4c6c5","qwen-token-plan-individual.json":"0fb7cf64faf39d1a3b0a884210a86c87084b805eda15644f5f39293287b959dd","qwen-token-plan.json":"eff10620cb577142de4ec02698d5961a71fda2fe4f6ae7ea9432bad9d6844176","radius.json":"dfed5c3d618b020ac72469d439937180833e55044d81b4b13afaa606baa1428b","together.json":"52293df62191c8e799ae3632f8ab1b3f52ee626aee0280677086627b32864bf7","typesafe.json":"a4429a2f696d5cc5273969af61a7310bda07d6bdcd27bf9ac9c76c534cc43716","vercel-ai-gateway.json":"391fe71a2caecf68c82352bea28881a3236e9f841c13cd638255f84e521ef4c4","xai.json":"879c49b78b663a52a220ac4ee013e726b10c4f50aaa03bc58ee53a4b54c76928","xiaomi-token-plan-ams.json":"ca65178f4525d9705bc8d085ed136cecbe149c4080e857ea6a64ae643d2ac00a","xiaomi-token-plan-cn.json":"b065326926681c2262084e59c1c19ebdaf146c07107b5242c76b456becf74db0","xiaomi-token-plan-sgp.json":"92c3d6d707f81fd9cd2b6d1fb57dc431d90ba51e10fe49d97bc8806035c23492","xiaomi.json":"b81d01a374f7b558728c78d81f4168efa9c8996e6e2b5618409a8094b083c759","zai-coding-cn.json":"ee5ee705fb6e413a6088db5e3616c27fce802a8ece6c355f1db35490d787f610","zai.json":"58e6642fdfb736f0b9a4a277c760c536a3cea66a030abbfb2615f7b2851d5c6f"}}
|