@langgraph-js/sdk 1.5.1 → 1.5.3
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.
package/dist/LangGraphClient.js
CHANGED
package/package.json
CHANGED
package/src/LangGraphClient.ts
CHANGED
|
@@ -526,6 +526,7 @@ export class LangGraphClient extends Client {
|
|
|
526
526
|
}
|
|
527
527
|
});
|
|
528
528
|
}
|
|
529
|
+
|
|
529
530
|
private runFETool() {
|
|
530
531
|
const data = this.graphMessages;
|
|
531
532
|
const lastMessage = data[data.length - 1];
|
|
@@ -544,6 +545,7 @@ export class LangGraphClient extends Client {
|
|
|
544
545
|
return this.callFETool(toolMessage, tool.args);
|
|
545
546
|
}
|
|
546
547
|
});
|
|
548
|
+
this.currentThread!.status = "interrupted"; // 修复某些机制下,状态不为 interrupted 与后端有差异
|
|
547
549
|
return Promise.all(result);
|
|
548
550
|
}
|
|
549
551
|
}
|