@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.
@@ -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
 
@@ -40379,6 +40379,8 @@ ${issues.join("\n")}`;
40379
40379
  init_define_BUILD();
40380
40380
  init_define_PACKAGE_VERSIONS();
40381
40381
  import { z as z19 } from "@botpress/sdk";
40382
+ import { Cognitive as Cognitive2 } from "@botpress/cognitive";
40383
+ import { Zai } from "@botpress/zai";
40382
40384
 
40383
40385
  // src/primitives/index.ts
40384
40386
  init_define_BUILD();
@@ -44547,7 +44549,7 @@ var KnowledgeIndexingWorkflow = new BaseWorkflow({
44547
44549
  });
44548
44550
 
44549
44551
  // src/runtime/adk.ts
44550
- import { Zai } from "@botpress/zai";
44552
+ import { Zai as Zai2 } from "@botpress/zai";
44551
44553
 
44552
44554
  // src/runtime/actions/index.ts
44553
44555
  init_define_BUILD();
@@ -44674,7 +44676,7 @@ var adk = {
44674
44676
  return Environment;
44675
44677
  },
44676
44678
  get zai() {
44677
- return new Zai({
44679
+ return new Zai2({
44678
44680
  client: context2.get("cognitive"),
44679
44681
  modelId: Array.isArray(adk.project.config.defaultModels.zai) ? adk.project.config.defaultModels.zai[0] ?? "auto" : adk.project.config.defaultModels.zai
44680
44682
  });