@probelabs/visor 0.1.164-ee → 0.1.165-ee

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.
@@ -4,7 +4,7 @@ import {
4
4
  handleScheduleAction,
5
5
  init_schedule_tool,
6
6
  isScheduleTool
7
- } from "./chunk-N4SZPYA6.mjs";
7
+ } from "./chunk-ODEDLFSQ.mjs";
8
8
  import "./chunk-KFKHU6CM.mjs";
9
9
  import "./chunk-AVMMKGLQ.mjs";
10
10
  import "./chunk-LG4AUKHB.mjs";
@@ -32,4 +32,4 @@ export {
32
32
  handleScheduleAction,
33
33
  isScheduleTool
34
34
  };
35
- //# sourceMappingURL=schedule-tool-SPUM47DS.mjs.map
35
+ //# sourceMappingURL=schedule-tool-SBBVNRBS.mjs.map
@@ -6,7 +6,7 @@ import {
6
6
  extractSlackContext,
7
7
  init_schedule_tool_handler,
8
8
  isScheduleToolCall
9
- } from "./chunk-N4SZPYA6.mjs";
9
+ } from "./chunk-ODEDLFSQ.mjs";
10
10
  import "./chunk-KFKHU6CM.mjs";
11
11
  import "./chunk-AVMMKGLQ.mjs";
12
12
  import "./chunk-LG4AUKHB.mjs";
@@ -36,4 +36,4 @@ export {
36
36
  extractSlackContext,
37
37
  isScheduleToolCall
38
38
  };
39
- //# sourceMappingURL=schedule-tool-handler-CT5DUQ32.mjs.map
39
+ //# sourceMappingURL=schedule-tool-handler-DPZEXA25.mjs.map
package/dist/sdk/sdk.js CHANGED
@@ -22407,7 +22407,20 @@ ${preview}`);
22407
22407
  aiConfig.apiKey = aiAny2.apiKey;
22408
22408
  }
22409
22409
  if (aiAny2.model !== void 0) {
22410
- aiConfig.model = aiAny2.model;
22410
+ let modelVal = String(aiAny2.model);
22411
+ if (modelVal.includes("{{")) {
22412
+ try {
22413
+ const rendered = await this.liquidEngine.parseAndRender(modelVal, {
22414
+ inputs: config.workflowInputs || {},
22415
+ env: process.env
22416
+ });
22417
+ modelVal = rendered.trim();
22418
+ } catch {
22419
+ }
22420
+ }
22421
+ if (modelVal) {
22422
+ aiConfig.model = modelVal;
22423
+ }
22411
22424
  }
22412
22425
  if (aiAny2.timeout !== void 0) {
22413
22426
  aiConfig.timeout = aiAny2.timeout;
@@ -22417,7 +22430,20 @@ ${preview}`);
22417
22430
  aiConfig.maxIterations = Number(raw);
22418
22431
  }
22419
22432
  if (aiAny2.provider !== void 0) {
22420
- aiConfig.provider = aiAny2.provider;
22433
+ let providerVal = String(aiAny2.provider);
22434
+ if (providerVal.includes("{{")) {
22435
+ try {
22436
+ const rendered = await this.liquidEngine.parseAndRender(providerVal, {
22437
+ inputs: config.workflowInputs || {},
22438
+ env: process.env
22439
+ });
22440
+ providerVal = rendered.trim();
22441
+ } catch {
22442
+ }
22443
+ }
22444
+ if (providerVal) {
22445
+ aiConfig.provider = providerVal;
22446
+ }
22421
22447
  }
22422
22448
  if (aiAny2.debug !== void 0) {
22423
22449
  aiConfig.debug = aiAny2.debug;