From b448cc5fc08679357ff62d63e5d90fabb77a1449 Mon Sep 17 00:00:00 2001 From: Kye Date: Thu, 27 Jul 2023 16:31:11 -0400 Subject: [PATCH] clean up Former-commit-id: 77e919a7da6cdc1b4f83afd1ee7e903bf76be89d --- swarms/agents/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarms/agents/agent.py b/swarms/agents/agent.py index 68a01279..e997c620 100644 --- a/swarms/agents/agent.py +++ b/swarms/agents/agent.py @@ -178,7 +178,7 @@ class AgentNode: logging.error(f"Failed to create agent node: {e}") raise -def agent(openai_api_key, objective, model_type, model_id): +def agent(openai_api_key, objective): if not objective or not isinstance(objective, str): logging.error("Invalid objective") raise ValueError("A valid objective is required")