@langgraph-js/pure-graph 3.2.2 → 3.2.4
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/adapter/fetch/index.js +3 -7
- package/dist/adapter/fetch/index.js.map +1 -1
- package/dist/adapter/nextjs/index.js +1 -1
- package/dist/{checkpoint-CY59Lr2q.js → checkpoint-Due32543.js} +69 -39
- package/dist/checkpoint-Due32543.js.map +1 -0
- package/dist/{createEndpoint-vMmFiMSz.js → createEndpoint-BDHfY6AZ.js} +2 -2
- package/dist/{createEndpoint-vMmFiMSz.js.map → createEndpoint-BDHfY6AZ.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/{queue-CUe5TDP1.js → queue-CPJTzcgl.js} +2 -2
- package/dist/{queue-CUe5TDP1.js.map → queue-CPJTzcgl.js.map} +1 -1
- package/dist/remote/index.js +1 -1
- package/dist/{shallow-checkpoint-ImbLxYNR.js → shallow-checkpoint-CHYRdSct.js} +76 -46
- package/dist/shallow-checkpoint-CHYRdSct.js.map +1 -0
- package/dist/{stream-jYlUzTZO.js → stream-8w3eP9hU.js} +15 -10
- package/dist/stream-8w3eP9hU.js.map +1 -0
- package/package.json +1 -1
- package/dist/checkpoint-CY59Lr2q.js.map +0 -1
- package/dist/shallow-checkpoint-ImbLxYNR.js.map +0 -1
- package/dist/stream-jYlUzTZO.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as serialiseAsDict, a as streamState, g as getGraph, L as LangGraphGlobal } from '../../stream-
|
|
2
|
-
import { c as createEndpoint } from '../../createEndpoint-
|
|
1
|
+
import { s as serialiseAsDict, a as streamState, g as getGraph, L as LangGraphGlobal } from '../../stream-8w3eP9hU.js';
|
|
2
|
+
import { c as createEndpoint } from '../../createEndpoint-BDHfY6AZ.js';
|
|
3
3
|
import z from 'zod';
|
|
4
4
|
import camelcaseKeys from 'camelcase-keys';
|
|
5
5
|
|
|
@@ -741,11 +741,7 @@ async function streamRun(req, context) {
|
|
|
741
741
|
};
|
|
742
742
|
writer.signal.addEventListener("abort", abortHandler);
|
|
743
743
|
try {
|
|
744
|
-
generator = client.runs.stream(
|
|
745
|
-
thread_id,
|
|
746
|
-
payload.assistant_id,
|
|
747
|
-
camelcaseKeys(payload)
|
|
748
|
-
);
|
|
744
|
+
generator = client.runs.stream(thread_id, payload.assistant_id, camelcaseKeys(payload));
|
|
749
745
|
for await (const { event, data } of generator) {
|
|
750
746
|
if (isCleaningUp || writer.signal.aborted) {
|
|
751
747
|
break;
|