From 8f95a8206b08e9eda780c95aebacf9fa7efd514f Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Wed, 6 Dec 2023 14:20:10 -0800 Subject: [PATCH] core[patch]: message history error typo (#14361) --- libs/core/langchain_core/runnables/history.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/core/langchain_core/runnables/history.py b/libs/core/langchain_core/runnables/history.py index ebca8748ad..919d476fb4 100644 --- a/libs/core/langchain_core/runnables/history.py +++ b/libs/core/langchain_core/runnables/history.py @@ -280,7 +280,7 @@ class RunnableWithMessageHistory(RunnableBindingBase): example_input = {self.input_messages_key: "foo"} example_config = {"configurable": {"session_id": "123"}} raise ValueError( - "session_id_id is required." + "session_id is required." " Pass it in as part of the config argument to .invoke() or .stream()" f"\neg. chain.invoke({example_input}, {example_config})" )