Skip to content

Commit

Permalink
core[patch]: Fix handling custom run id in sequence streams
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Apr 5, 2024
1 parent fe75251 commit 9d25745
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion langchain-core/src/runnables/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1590,12 +1590,14 @@ export class RunnableSequence<
const runManager = await callbackManager_?.handleChainStart(
this.toJSON(),
_coerceToDict(input, "input"),
undefined,
options?.runId,
undefined,
undefined,
undefined,
options?.runName
);
// eslint-disable-next-line no-param-reassign
delete options?.runId;
const steps = [this.first, ...this.middle, this.last];
let concatSupported = true;
let finalOutput;
Expand Down

0 comments on commit 9d25745

Please sign in to comment.