From 6c8c209bca81c9d03f730e83e49f47220a4d3ab0 Mon Sep 17 00:00:00 2001 From: Kye Date: Tue, 11 Jul 2023 14:22:55 -0400 Subject: [PATCH] callback manager Former-commit-id: 3dd78132e869da0414f2167bdff62e4d0043ce76 --- 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 c4015e76..79aacf05 100644 --- a/swarms/agents/utils/manager.py +++ b/swarms/agents/utils/manager.py @@ -2,7 +2,7 @@ from typing import Dict, Optional # from celery import Task from langchain.agents.agent import AgentExecutor -from langchain.callbacks.base import CallbackManager +from langchain.callbacks.manager import CallbackManager from langchain.callbacks import set_handler from langchain.chains.conversation.memory import ConversationBufferMemory from langchain.memory.chat_memory import BaseChatMemory