pi-model-sort 0.2.0 → 0.2.1
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/model-sort.ts +0 -10
- package/package.json +2 -2
package/model-sort.ts
CHANGED
|
@@ -357,16 +357,6 @@ export default function (pi: ExtensionAPI) {
|
|
|
357
357
|
await pi.setModel(mruModel as Parameters<typeof pi.setModel>[0]);
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
|
|
361
|
-
if (ctx.hasUI) {
|
|
362
|
-
const count = Object.keys(lastUsed).length;
|
|
363
|
-
ctx.ui.notify(
|
|
364
|
-
count > 0
|
|
365
|
-
? `pi-model-sort: ${count} model(s) tracked — sorting by last usage`
|
|
366
|
-
: "pi-model-sort: tracking started — models will sort by recency after first use",
|
|
367
|
-
"info",
|
|
368
|
-
);
|
|
369
|
-
}
|
|
370
360
|
});
|
|
371
361
|
|
|
372
362
|
// Track model selections (manual, session restore).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-model-sort",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Sort models in pi's /model selector by last usage — most recently used models appear first",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Tom X Nguyen",
|
|
@@ -49,4 +49,4 @@
|
|
|
49
49
|
"./model-sort.ts"
|
|
50
50
|
]
|
|
51
51
|
}
|
|
52
|
-
}
|
|
52
|
+
}
|