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.
@@ -2678,7 +2678,8 @@ var Embedder = class {
2678
2678
  }
2679
2679
  const output = await this.pipeline(text, {
2680
2680
  pooling: "mean",
2681
- normalize: true
2681
+ normalize: true,
2682
+ truncation: true
2682
2683
  });
2683
2684
  const vector = Array.from(output.data);
2684
2685
  return {
@@ -2702,7 +2703,8 @@ var Embedder = class {
2702
2703
  for (const text of batch) {
2703
2704
  const output = await this.pipeline(text, {
2704
2705
  pooling: "mean",
2705
- normalize: true
2706
+ normalize: true,
2707
+ truncation: true
2706
2708
  });
2707
2709
  const vector = Array.from(output.data);
2708
2710
  results.push({