mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-16 15:04:13 +00:00
Zep sdk version (#5267)
zep-python's sync methods no longer need an asyncio wrapper. This was causing issues with FastAPI deployment. Zep also now supports putting and getting of arbitrary message metadata. Bump zep-python version to v0.30 Remove nest-asyncio from Zep example notebooks. Modify tests to include metadata. --------- Co-authored-by: Daniel Chalef <daniel.chalef@private.org> Co-authored-by: Daniel Chalef <131175+danielchalef@users.noreply.github.com>
This commit is contained in:
@@ -30,8 +30,8 @@ def test_messages(mocker: MockerFixture, zep_chat: ZepChatMessageHistory) -> Non
|
||||
content="summary",
|
||||
),
|
||||
messages=[
|
||||
Message(content="message", role="ai"),
|
||||
Message(content="message2", role="human"),
|
||||
Message(content="message", role="ai", metadata={"key": "value"}),
|
||||
Message(content="message2", role="human", metadata={"key2": "value2"}),
|
||||
],
|
||||
)
|
||||
zep_chat.zep_client.get_memory.return_value = mock_memory # type: ignore
|
||||
|
Reference in New Issue
Block a user