claude-memory-layer 1.0.22 → 1.0.23

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.
@@ -2687,7 +2687,8 @@ var Embedder = class {
2687
2687
  }
2688
2688
  const output = await this.pipeline(text, {
2689
2689
  pooling: "mean",
2690
- normalize: true
2690
+ normalize: true,
2691
+ truncation: true
2691
2692
  });
2692
2693
  const vector = Array.from(output.data);
2693
2694
  return {
@@ -2711,7 +2712,8 @@ var Embedder = class {
2711
2712
  for (const text of batch) {
2712
2713
  const output = await this.pipeline(text, {
2713
2714
  pooling: "mean",
2714
- normalize: true
2715
+ normalize: true,
2716
+ truncation: true
2715
2717
  });
2716
2718
  const vector = Array.from(output.data);
2717
2719
  results.push({