@dbx-tools/model 0.3.14 → 0.3.16
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/package.json +4 -4
- package/src/classes.ts +2 -0
- package/src/fallback.ts +2 -0
- package/src/resolve.ts +2 -0
- package/src/serving.ts +2 -0
package/package.json
CHANGED
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@databricks/appkit": "^0.43.0",
|
|
15
15
|
"fuse.js": "^7.4.2",
|
|
16
|
-
"@dbx-tools/
|
|
17
|
-
"@dbx-tools/
|
|
18
|
-
"@dbx-tools/shared-model": "0.3.
|
|
16
|
+
"@dbx-tools/appkit": "0.3.16",
|
|
17
|
+
"@dbx-tools/shared-core": "0.3.16",
|
|
18
|
+
"@dbx-tools/shared-model": "0.3.16"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.ts",
|
|
21
21
|
"license": "UNLICENSED",
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"access": "public"
|
|
24
24
|
},
|
|
25
|
-
"version": "0.3.
|
|
25
|
+
"version": "0.3.16",
|
|
26
26
|
"types": "index.ts",
|
|
27
27
|
"type": "module",
|
|
28
28
|
"exports": {
|
package/src/classes.ts
CHANGED
package/src/fallback.ts
CHANGED
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
* to fall back to and must not assume a stale, baked-in model list; it consumes
|
|
15
15
|
* the live `/models` response instead. The pure classifier
|
|
16
16
|
* ({@link classify.classifyEndpoints}) is what the client shares.
|
|
17
|
+
*
|
|
18
|
+
* @module
|
|
17
19
|
*/
|
|
18
20
|
|
|
19
21
|
import { classify, model, type FamilyClass } from "@dbx-tools/shared-model";
|
package/src/resolve.ts
CHANGED
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
* `modelClass` acts as a ceiling: that band and the less-capable chat bands
|
|
17
17
|
* below it are eligible (see {@link classesAtOrBelow}), so a `chat-balanced`
|
|
18
18
|
* ask can fall to `chat-fast` but never escalate to `chat-thinking`.
|
|
19
|
+
*
|
|
20
|
+
* @module
|
|
19
21
|
*/
|
|
20
22
|
|
|
21
23
|
import {
|
package/src/serving.ts
CHANGED
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
* length recorded, so the cost is paid on a cache miss, not per read. The ping
|
|
18
18
|
* is best-effort - a failure logs at debug and leaves `dimension` unset rather
|
|
19
19
|
* than failing the whole listing.
|
|
20
|
+
*
|
|
21
|
+
* @module
|
|
20
22
|
*/
|
|
21
23
|
|
|
22
24
|
import { error, log, string } from "@dbx-tools/shared-core";
|