@langchain/langgraph 0.2.6 → 0.2.7

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.
@@ -356,7 +356,8 @@ class Pregel extends runnables_1.Runnable {
356
356
  }
357
357
  // update channels
358
358
  const channels = (0, base_js_1.emptyChannels)(this.channels, checkpoint);
359
- const { managed } = await this.prepareSpecs(config);
359
+ // Pass `skipManaged: true` as managed values are not used/relevant in update state calls.
360
+ const { managed } = await this.prepareSpecs(config, { skipManaged: true });
360
361
  // run all writers of the chosen node
361
362
  const writers = this.nodes[asNode].getWriters();
362
363
  if (!writers.length) {
@@ -352,7 +352,8 @@ export class Pregel extends Runnable {
352
352
  }
353
353
  // update channels
354
354
  const channels = emptyChannels(this.channels, checkpoint);
355
- const { managed } = await this.prepareSpecs(config);
355
+ // Pass `skipManaged: true` as managed values are not used/relevant in update state calls.
356
+ const { managed } = await this.prepareSpecs(config, { skipManaged: true });
356
357
  // run all writers of the chosen node
357
358
  const writers = this.nodes[asNode].getWriters();
358
359
  if (!writers.length) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/langgraph",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "LangGraph",
5
5
  "type": "module",
6
6
  "engines": {