Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libs/langgraph/src/pregel/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1808,7 +1808,7 @@ export class Pregel<
recursionLimit: this.config?.recursionLimit,
// Similar to `stream`, we need to pass the `config.callbacks` here,
// otherwise the user-provided callback will get lost in `ensureLangGraphConfig`.
callbacks: this.config?.callbacks,
callbacks: [...(this.config?.callbacks ?? []), ...(options?.callbacks ?? [])],
...options,
signal: options?.signal
? combineAbortSignals(options.signal, abortController.signal)
Expand Down
Loading