Skip to content

Commit ff8c190

Browse files
committed
need to move up to avoid it overwriting
1 parent 13900b2 commit ff8c190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/langgraph/src/pregel/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1806,10 +1806,10 @@ export class Pregel<
18061806

18071807
const config = {
18081808
recursionLimit: this.config?.recursionLimit,
1809+
...options,
18091810
// Similar to `stream`, we need to pass the `config.callbacks` here,
18101811
// otherwise the user-provided callback will get lost in `ensureLangGraphConfig`.
18111812
callbacks: [...(this.config?.callbacks ?? []), ...(options?.callbacks ?? [])],
1812-
...options,
18131813
signal: options?.signal
18141814
? combineAbortSignals(options.signal, abortController.signal)
18151815
: abortController.signal,

0 commit comments

Comments
 (0)