From 2e8d1634d05cdcdf1926852375234de71b9669e0 Mon Sep 17 00:00:00 2001 From: Magnar Ovedal Myrtveit Date: Sat, 21 Dec 2024 22:12:52 +0100 Subject: [PATCH] Pass input value to `handleChainStart` in `_transformStreamWithConfig` --- langchain-core/src/runnables/base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langchain-core/src/runnables/base.ts b/langchain-core/src/runnables/base.ts index 09c8c7162ee9..7f97a5fd6ccf 100644 --- a/langchain-core/src/runnables/base.ts +++ b/langchain-core/src/runnables/base.ts @@ -521,7 +521,7 @@ export abstract class Runnable< async () => callbackManager_?.handleChainStart( this.toJSON(), - { input: "" }, + finalInput, config.runId, config.runType, undefined,