From 486842dbc91869a5fb0c4751d2e5fa6ef6fd8848 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: bef1da7c89f6d7325f97a0a9ed6fe8489faf7fac --- 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