@camstack/agent 1.1.3 → 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.
@@ -1565,10 +1565,10 @@ async function loadDeployedAddons(broker, addonsDir, dataDir, loadedAddons, stor
1565
1565
  }
1566
1566
  }
1567
1567
  async function loadInProcessDeployedAddons(broker, dirs, dataDir, loadedAddons, storageProvider, loggerFactory, capabilityRegistry) {
1568
- const modelsDir = storageProvider ? await storageProvider.resolve({ location: "models", relativePath: "" }).catch(() => void 0) : void 0;
1568
+ const modelsDir = path6.join(process.env["CAMSTACK_DATA"] ?? dataDir, "models");
1569
1569
  const contextOptions = {
1570
1570
  storageProvider,
1571
- addonConfig: modelsDir ? { modelsDir } : {},
1571
+ addonConfig: { modelsDir },
1572
1572
  createLogger: loggerFactory,
1573
1573
  capabilityRegistry
1574
1574
  };
@@ -1680,4 +1680,4 @@ export {
1680
1680
  startAgentHttpServer,
1681
1681
  startAgent
1682
1682
  };
1683
- //# sourceMappingURL=chunk-EMAD7O4T.mjs.map
1683
+ //# sourceMappingURL=chunk-HG3YVMRA.mjs.map