@almyty/models 1.5.1 → 1.5.2
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/index.js +4 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -398,10 +398,11 @@ export function unselectableReason(c) {
|
|
|
398
398
|
const err = c.lastValidationError ? `: ${c.lastValidationError}` : '';
|
|
399
399
|
if (c.validationStatus === 'failed')
|
|
400
400
|
return `the provider says this model is not available${err}`;
|
|
401
|
-
// A provider's models are usable once the provider's key check passes
|
|
402
|
-
//
|
|
401
|
+
// A provider's models are usable once the provider's key check passes,
|
|
402
|
+
// which is on the connection's page under Credentials; an endpoint with
|
|
403
|
+
// no provider row is checked on its own.
|
|
403
404
|
if (c.providerId)
|
|
404
|
-
return `waiting for its provider's key check${err} (check
|
|
405
|
+
return `waiting for its provider's key check${err} (check its connection under Credentials)`;
|
|
405
406
|
return `not checked yet${err} — run: almyty models validate ${c.id}`;
|
|
406
407
|
}
|
|
407
408
|
return 'the catalog does not consider it selectable';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@almyty/models",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"author": "almyty",
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@almyty/client": "^1.5.
|
|
31
|
+
"@almyty/client": "^1.5.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/node": "^25.4.0",
|