@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/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
@@ -19,7 +19,7 @@ import {
19
19
  toolboxes,
20
20
  trace,
21
21
  vega
22
- } from "./chunk-RSX5YMFM.js";
22
+ } from "./chunk-2GNQU4XH.js";
23
23
  export {
24
24
  DEFAULT_BUSINESS_DOMAIN,
25
25
  DEFAULT_LIST_LIMIT,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbkn/bkn-sdk",
3
- "version": "0.1.1-alpha.13",
3
+ "version": "0.1.1-alpha.14",
4
4
  "description": "Unified TypeScript SDK + CLI for the BKN (Business Knowledge Network) platform.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",