pi-provider-litellm 2.0.3 → 2.0.4
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/dist/discover.js +2 -2
- package/package.json +3 -3
package/dist/discover.js
CHANGED
|
@@ -85,8 +85,8 @@ function catalogLookupIds(id) {
|
|
|
85
85
|
const match = /^(?:claude-)?(opus|sonnet|haiku)-(\d+)-(\d+)$/.exec(anthropicAlias);
|
|
86
86
|
if (match)
|
|
87
87
|
lookupIds.add(`claude-${match[1]}-${match[2]}-${match[3]}`);
|
|
88
|
-
if (anthropicAlias === "fable-5")
|
|
89
|
-
lookupIds.add(
|
|
88
|
+
if (anthropicAlias === "fable-5" || anthropicAlias === "opus-5")
|
|
89
|
+
lookupIds.add(`claude-${anthropicAlias}`);
|
|
90
90
|
return [...lookupIds];
|
|
91
91
|
}
|
|
92
92
|
function findCatalogModelInProvider(provider, lookupIds) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-provider-litellm",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "LiteLLM proxy provider extension for Pi",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@biomejs/biome": "^2.4.15",
|
|
68
|
-
"@earendil-works/pi-ai": "^0.
|
|
69
|
-
"@earendil-works/pi-coding-agent": "^0.
|
|
68
|
+
"@earendil-works/pi-ai": "^0.83.0",
|
|
69
|
+
"@earendil-works/pi-coding-agent": "^0.83.0",
|
|
70
70
|
"@kitlangton/terminal-control": "0.6.0",
|
|
71
71
|
"@types/node": "^26.0.0",
|
|
72
72
|
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|