From f16d45ceaf6140e10c440a923f97d12479efd552 Mon Sep 17 00:00:00 2001 From: Kye Date: Thu, 13 Jul 2023 07:44:18 -0400 Subject: [PATCH] back to langchain openai provider Former-commit-id: 35a9ac4c71901891346bd7fc640bc0f16a617982 --- swarms/agents/utils/AgentBuilder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/swarms/agents/utils/AgentBuilder.py b/swarms/agents/utils/AgentBuilder.py index e26ffdf9..3adaca45 100644 --- a/swarms/agents/utils/AgentBuilder.py +++ b/swarms/agents/utils/AgentBuilder.py @@ -10,7 +10,8 @@ from langchain.schema import BaseOutputParser from langchain.callbacks.base import BaseCallbackManager from .ConversationalChatAgent import ConversationalChatAgent -from .ChatOpenAI import ChatOpenAI +# from .ChatOpenAI import ChatOpenAI +from langchain.chat_models import ChatOpenAI from .EvalOutputParser import EvalOutputParser