add ConversationalChatAgent to agent.__init__ (fix #2093) (#2098)

As pointed out in #2093, ConversationalChatAgent was missing from
agent.__init__. This PR fixes that.
This commit is contained in:
Klein Tahiraj 2023-03-28 17:14:21 +02:00 committed by GitHub
parent 9e74df2404
commit d0a56f47ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,7 @@ from langchain.agents.agent_toolkits import (
create_vectorstore_router_agent,
)
from langchain.agents.conversational.base import ConversationalAgent
from langchain.agents.conversational_chat.base import ConversationalChatAgent
from langchain.agents.initialize import initialize_agent
from langchain.agents.load_tools import get_all_tool_names, load_tools
from langchain.agents.loading import load_agent
@ -32,6 +33,7 @@ __all__ = [
"load_tools",
"get_all_tool_names",
"ConversationalAgent",
"ConversationalChatAgent",
"load_agent",
"create_sql_agent",
"create_json_agent",