mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-13 05:25:07 +00:00
RunnableWithMessageHistory: Fix input schema (#14516)
Input schema should not have history key
This commit is contained in:
@@ -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: {
|
||||
|
Reference in New Issue
Block a user