claude-memory-layer 1.0.21 → 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.
@@ -2668,7 +2668,8 @@ var Embedder = class {
2668
2668
  }
2669
2669
  const output = await this.pipeline(text, {
2670
2670
  pooling: "mean",
2671
- normalize: true
2671
+ normalize: true,
2672
+ truncation: true
2672
2673
  });
2673
2674
  const vector = Array.from(output.data);
2674
2675
  return {
@@ -2692,7 +2693,8 @@ var Embedder = class {
2692
2693
  for (const text of batch) {
2693
2694
  const output = await this.pipeline(text, {
2694
2695
  pooling: "mean",
2695
- normalize: true
2696
+ normalize: true,
2697
+ truncation: true
2696
2698
  });
2697
2699
  const vector = Array.from(output.data);
2698
2700
  results.push({