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.
@@ -4038,7 +4038,8 @@ var Embedder = class {
4038
4038
  }
4039
4039
  const output = await this.pipeline(text, {
4040
4040
  pooling: "mean",
4041
- normalize: true
4041
+ normalize: true,
4042
+ truncation: true
4042
4043
  });
4043
4044
  const vector = Array.from(output.data);
4044
4045
  return {
@@ -4062,7 +4063,8 @@ var Embedder = class {
4062
4063
  for (const text of batch) {
4063
4064
  const output = await this.pipeline(text, {
4064
4065
  pooling: "mean",
4065
- normalize: true
4066
+ normalize: true,
4067
+ truncation: true
4066
4068
  });
4067
4069
  const vector = Array.from(output.data);
4068
4070
  results.push({