@botpress/runtime 1.7.3 → 1.7.4

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/runtime.js CHANGED
@@ -48,7 +48,7 @@ var init_define_BUILD = __esm({
48
48
  var define_PACKAGE_VERSIONS_default;
49
49
  var init_define_PACKAGE_VERSIONS = __esm({
50
50
  "<define:__PACKAGE_VERSIONS__>"() {
51
- define_PACKAGE_VERSIONS_default = { runtime: "1.7.3", adk: "1.7.2", sdk: "4.18.1", llmz: "0.0.27", zai: "2.5.0", cognitive: "0.2.0" };
51
+ define_PACKAGE_VERSIONS_default = { runtime: "1.7.4", adk: "1.7.2", sdk: "4.18.1", llmz: "0.0.27", zai: "2.5.0", cognitive: "0.2.0" };
52
52
  }
53
53
  });
54
54
 
@@ -40349,6 +40349,8 @@ ${issues.join("\n")}`;
40349
40349
  init_define_BUILD();
40350
40350
  init_define_PACKAGE_VERSIONS();
40351
40351
  import { z as z14 } from "@botpress/sdk";
40352
+ import { Cognitive as Cognitive2 } from "@botpress/cognitive";
40353
+ import { Zai } from "@botpress/zai";
40352
40354
 
40353
40355
  // src/primitives/index.ts
40354
40356
  init_define_BUILD();
@@ -44484,7 +44486,7 @@ var BuiltInWorkflows = {
44484
44486
  };
44485
44487
 
44486
44488
  // src/runtime/adk.ts
44487
- import { Zai } from "@botpress/zai";
44489
+ import { Zai as Zai2 } from "@botpress/zai";
44488
44490
 
44489
44491
  // src/runtime/actions/index.ts
44490
44492
  init_define_BUILD();
@@ -44671,7 +44673,7 @@ var adk = {
44671
44673
  return Environment;
44672
44674
  },
44673
44675
  get zai() {
44674
- return new Zai({
44676
+ return new Zai2({
44675
44677
  client: context2.get("cognitive"),
44676
44678
  modelId: Array.isArray(adk.project.config.defaultModels.zai) ? adk.project.config.defaultModels.zai[0] ?? "auto" : adk.project.config.defaultModels.zai
44677
44679
  });