@mastra/memory 1.15.0-alpha.3 → 1.15.1-alpha.0

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.
@@ -8631,7 +8631,7 @@ function getOmObservabilityContext(args) {
8631
8631
  }
8632
8632
  var GATEWAY_STATE_KEY = "__isGatewayModel";
8633
8633
  function isMastraGatewayModel(model) {
8634
- return model instanceof llm.ModelRouterLanguageModel && model.gatewayId === "mastra";
8634
+ return typeof model === "object" && model !== null && "gatewayId" in model && model.gatewayId === "mastra";
8635
8635
  }
8636
8636
  var ObservationalMemoryProcessor = class {
8637
8637
  id = "observational-memory";
@@ -8866,5 +8866,5 @@ exports.stripEphemeralAnchorIds = stripEphemeralAnchorIds;
8866
8866
  exports.stripObservationGroups = stripObservationGroups;
8867
8867
  exports.truncateStringByTokens = truncateStringByTokens;
8868
8868
  exports.wrapInObservationGroup = wrapInObservationGroup;
8869
- //# sourceMappingURL=chunk-WNLRMAHY.cjs.map
8870
- //# sourceMappingURL=chunk-WNLRMAHY.cjs.map
8869
+ //# sourceMappingURL=chunk-OUMWCVQI.cjs.map
8870
+ //# sourceMappingURL=chunk-OUMWCVQI.cjs.map