mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-13 14:50:00 +00:00
core[patch]: message history error typo (#14361)
This commit is contained in:
parent
e5bd32ff6d
commit
8f95a8206b
@ -280,7 +280,7 @@ class RunnableWithMessageHistory(RunnableBindingBase):
|
|||||||
example_input = {self.input_messages_key: "foo"}
|
example_input = {self.input_messages_key: "foo"}
|
||||||
example_config = {"configurable": {"session_id": "123"}}
|
example_config = {"configurable": {"session_id": "123"}}
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
"session_id_id is required."
|
"session_id is required."
|
||||||
" Pass it in as part of the config argument to .invoke() or .stream()"
|
" Pass it in as part of the config argument to .invoke() or .stream()"
|
||||||
f"\neg. chain.invoke({example_input}, {example_config})"
|
f"\neg. chain.invoke({example_input}, {example_config})"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user