From 1389225182d5d92ffbe2741ef1828561e32c22d8 Mon Sep 17 00:00:00 2001 From: bracesproul Date: Mon, 29 Jul 2024 17:50:11 -0700 Subject: [PATCH] update message uti;s --- langchain-core/src/runnables/remote.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/langchain-core/src/runnables/remote.ts b/langchain-core/src/runnables/remote.ts index d1215adcfb7c..9ecd597556f9 100644 --- a/langchain-core/src/runnables/remote.ts +++ b/langchain-core/src/runnables/remote.ts @@ -86,6 +86,7 @@ function revive(obj: any): any { return new ToolMessage({ content: obj.content, tool_call_id: obj.tool_call_id, + status: obj.status, }); } if (obj.type === "AIMessage" || obj.type === "ai") { @@ -119,6 +120,7 @@ function revive(obj: any): any { return new ToolMessageChunk({ content: obj.content, tool_call_id: obj.tool_call_id, + status: obj.status, }); } if (obj.type === "AIMessageChunk") {