From b52d11c79e692bbfb3d91bdc2d26b0fad7f2dc27 Mon Sep 17 00:00:00 2001 From: Ajay Raj Date: Wed, 26 Jun 2024 15:31:45 -0700 Subject: [PATCH] removes groq from default factory (#584) --- vocode/streaming/agent/default_factory.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/vocode/streaming/agent/default_factory.py b/vocode/streaming/agent/default_factory.py index eaa65ee4c..7a05c842a 100644 --- a/vocode/streaming/agent/default_factory.py +++ b/vocode/streaming/agent/default_factory.py @@ -3,7 +3,6 @@ from vocode.streaming.agent.base_agent import BaseAgent from vocode.streaming.agent.chat_gpt_agent import ChatGPTAgent from vocode.streaming.agent.echo_agent import EchoAgent -from vocode.streaming.agent.groq_agent import GroqAgent from vocode.streaming.agent.restful_user_implemented_agent import RESTfulUserImplementedAgent from vocode.streaming.models.agent import ( AgentConfig, @@ -11,7 +10,6 @@ ChatGPTAgentConfig, EchoAgentConfig, RESTfulUserImplementedAgentConfig, - GroqAgentConfig ) @@ -25,6 +23,4 @@ def create_agent(self, agent_config: AgentConfig) -> BaseAgent: return RESTfulUserImplementedAgent(agent_config=agent_config) elif isinstance(agent_config, AnthropicAgentConfig): return AnthropicAgent(agent_config=agent_config) - elif isinstance(agent_config, GroqAgentConfig): - return GroqAgent(agent_config=agent_config) - raise Exception("Invalid agent config", agent_config.type) \ No newline at end of file + raise Exception("Invalid agent config", agent_config.type)