|
|
@ -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})"
|
|
|
|
)
|
|
|
|
)
|
|
|
|