From 58e57ae867e276d6ce5b821d8128faa4d90a1f35 Mon Sep 17 00:00:00 2001 From: Kye Date: Thu, 27 Jul 2023 16:30:51 -0400 Subject: [PATCH] clean up --- 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 57e5b059..68a01279 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, ojective, model_type, model_id): +def agent(openai_api_key, objective, model_type, model_id): if not objective or not isinstance(objective, str): logging.error("Invalid objective") raise ValueError("A valid objective is required")