From 6b2179e9a5446d2bfdfac7940a6bfe4ca5acdf61 Mon Sep 17 00:00:00 2001 From: Kye Date: Tue, 11 Jul 2023 14:30:05 -0400 Subject: [PATCH] langchain import Former-commit-id: a845f0412af7ae19ab01383826682bf40e0a82d7 --- swarms/agents/utils/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarms/agents/utils/manager.py b/swarms/agents/utils/manager.py index 79aacf05..8eb383a7 100644 --- a/swarms/agents/utils/manager.py +++ b/swarms/agents/utils/manager.py @@ -3,7 +3,7 @@ from typing import Dict, Optional from langchain.agents.agent import AgentExecutor from langchain.callbacks.manager import CallbackManager -from langchain.callbacks import set_handler +from langchain.callbacks.base import set_handler from langchain.chains.conversation.memory import ConversationBufferMemory from langchain.memory.chat_memory import BaseChatMemory