@camstack/agent 1.1.2 → 1.1.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/cli.js CHANGED
@@ -1547,10 +1547,10 @@ async function loadDeployedAddons(broker, addonsDir, dataDir, loadedAddons, stor
1547
1547
  }
1548
1548
  }
1549
1549
  async function loadInProcessDeployedAddons(broker, dirs, dataDir, loadedAddons, storageProvider, loggerFactory, capabilityRegistry) {
1550
- const modelsDir = storageProvider ? await storageProvider.resolve({ location: "models", relativePath: "" }).catch(() => void 0) : void 0;
1550
+ const modelsDir = path6.join(process.env["CAMSTACK_DATA"] ?? dataDir, "models");
1551
1551
  const contextOptions = {
1552
1552
  storageProvider,
1553
- addonConfig: modelsDir ? { modelsDir } : {},
1553
+ addonConfig: { modelsDir },
1554
1554
  createLogger: loggerFactory,
1555
1555
  capabilityRegistry
1556
1556
  };