RunnableWithMessageHistory: Fix input schema (#14516)

Input schema should not have history key
This commit is contained in:
Eugene Yurtsev
2023-12-10 23:33:02 -05:00
committed by GitHub
parent d9bfdc95ea
commit c0f4b95aa9
2 changed files with 0 additions and 3 deletions

View File

@@ -178,7 +178,6 @@ def test_output_dict() -> None:
def test_get_input_schema_input_dict() -> None:
class RunnableWithChatHistoryInput(BaseModel):
input: Union[str, BaseMessage, Sequence[BaseMessage]]
history: Sequence[BaseMessage]
runnable = RunnableLambda(
lambda input: {