@openbkn/bkn-sdk 0.1.1-alpha.13 → 0.1.1-alpha.14
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/{chunk-RSX5YMFM.js → chunk-2GNQU4XH.js} +26 -3
- package/dist/chunk-2GNQU4XH.js.map +1 -0
- package/dist/cli.js +46 -6
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-RSX5YMFM.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -558,6 +558,8 @@ declare function models(ctx: RequestContext): {
|
|
|
558
558
|
edit: (body: unknown) => Promise<unknown>;
|
|
559
559
|
delete: (modelIds: string[]) => Promise<unknown>;
|
|
560
560
|
test: (body: unknown) => Promise<unknown>;
|
|
561
|
+
/** Set (or clear) the system default LLM. */
|
|
562
|
+
setDefault: (modelId: string, isDefault?: boolean) => Promise<unknown>;
|
|
561
563
|
};
|
|
562
564
|
small: {
|
|
563
565
|
list: (opts?: ListModelsOptions) => Promise<unknown>;
|
|
@@ -568,6 +570,10 @@ declare function models(ctx: RequestContext): {
|
|
|
568
570
|
edit: (body: unknown) => Promise<unknown>;
|
|
569
571
|
delete: (modelIds: string[]) => Promise<unknown>;
|
|
570
572
|
test: (body: unknown) => Promise<unknown>;
|
|
573
|
+
/** Set (or clear) the system default small model (type inferred from the model). */
|
|
574
|
+
setDefault: (modelId: string, isDefault?: boolean) => Promise<unknown>;
|
|
575
|
+
/** Get the system default small model for a type (default "embedding"). */
|
|
576
|
+
getDefault: (modelType?: string) => Promise<unknown>;
|
|
571
577
|
};
|
|
572
578
|
};
|
|
573
579
|
|
package/dist/index.js
CHANGED
package/package.json
CHANGED