From 8dd8b41b6c5723183049fe8c9c01dfb5b85acbe0 Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Fri, 22 Nov 2024 16:48:07 -0500 Subject: [PATCH] qx --- libs/langchain/langchain/memory/summary.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/langchain/langchain/memory/summary.py b/libs/langchain/langchain/memory/summary.py index e4c7806e26675..bbbe4293dcd59 100644 --- a/libs/langchain/langchain/memory/summary.py +++ b/libs/langchain/langchain/memory/summary.py @@ -3,8 +3,8 @@ from typing import Any, Dict, List, Type from langchain_core._api import deprecated -from langchain_core.caches import BaseCache -from langchain_core.callbacks import Callbacks +from langchain_core.caches import BaseCache as BaseCache # For model_rebuild +from langchain_core.callbacks import Callbacks as Callbacks # For model_rebuild from langchain_core.chat_history import BaseChatMessageHistory from langchain_core.language_models import BaseLanguageModel from langchain_core.messages import BaseMessage, SystemMessage, get_buffer_string