bermudis-pi-goodies 0.4.0 → 0.4.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/README.md +1 -1
- package/kilo.ts +8 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ extensions. One entry point, ten independent features.
|
|
|
21
21
|
After publishing the package to npm:
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
-
pi install npm:bermudis-pi-goodies@0.4.
|
|
24
|
+
pi install npm:bermudis-pi-goodies@0.4.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
Remove any old `bermudis-pi-goodies.ts` symlink before reloading Pi. Each
|
package/kilo.ts
CHANGED
|
@@ -711,10 +711,14 @@ export default function kilo(pi: ExtensionAPI): void {
|
|
|
711
711
|
lastFullCatalogCheckedAt = checkedAt;
|
|
712
712
|
return models;
|
|
713
713
|
} catch (error) {
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
714
|
+
// Closing a picker or starting a newer refresh aborts the old request.
|
|
715
|
+
// That is expected lifecycle control, not a provider failure.
|
|
716
|
+
if (!context.signal?.aborted) {
|
|
717
|
+
console.warn(
|
|
718
|
+
"[kilo] refreshModels fetch failed:",
|
|
719
|
+
error instanceof Error ? error.message : error,
|
|
720
|
+
);
|
|
721
|
+
}
|
|
718
722
|
return lastFullCatalog ?? KILO_FREE_MODELS;
|
|
719
723
|
} finally {
|
|
720
724
|
refreshInFlight = undefined;
|