@mastra/editor 0.13.3-alpha.0 → 0.13.3-alpha.2

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/index.js CHANGED
@@ -632,6 +632,7 @@ function defaultModelToStored(entry) {
632
632
  var BUILDER_BASELINE_DEFAULTS = {
633
633
  memory: { observationalMemory: true }
634
634
  };
635
+ var BUILDER_DEFAULT_OM_MODEL = "openai/gpt-5.4-mini";
635
636
  function applyBuilderDefaults(input, builderAgentConfig) {
636
637
  const defaults = {};
637
638
  for (const field of BUILDER_DEFAULT_FIELDS) {
@@ -1533,7 +1534,9 @@ var EditorAgentNamespace = class extends CrudEditorNamespace {
1533
1534
  if (memoryConfig.observationalMemory) {
1534
1535
  options = {
1535
1536
  ...options,
1536
- observationalMemory: memoryConfig.observationalMemory
1537
+ // A literal `true` means "use the builder default OM model"; an explicit
1538
+ // object (user/admin choice) passes through untouched.
1539
+ observationalMemory: memoryConfig.observationalMemory === true ? { model: BUILDER_DEFAULT_OM_MODEL } : memoryConfig.observationalMemory
1537
1540
  };
1538
1541
  }
1539
1542
  if (options?.semanticRecall && (!vector || !memoryConfig.embedder)) {