We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13900b2 commit ff8c190Copy full SHA for ff8c190
libs/langgraph/src/pregel/index.ts
@@ -1806,10 +1806,10 @@ export class Pregel<
1806
1807
const config = {
1808
recursionLimit: this.config?.recursionLimit,
1809
+ ...options,
1810
// Similar to `stream`, we need to pass the `config.callbacks` here,
1811
// otherwise the user-provided callback will get lost in `ensureLangGraphConfig`.
1812
callbacks: [...(this.config?.callbacks ?? []), ...(options?.callbacks ?? [])],
- ...options,
1813
signal: options?.signal
1814
? combineAbortSignals(options.signal, abortController.signal)
1815
: abortController.signal,
0 commit comments