From d1ed96e883a4f2f6d6579a944b02213561376a9d Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 12 Jul 2023 18:03:35 -0400 Subject: [PATCH] clean up test with base handler Former-commit-id: f41a92b00e88b3d26f1f58d722f5ea2a90fd8db3 --- .env.example | 2 +- swarms/agents/utils/manager.py | 2 +- swarms/agents/workers/{metaprompt_worker.py => PromptWorker.py} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename swarms/agents/workers/{metaprompt_worker.py => PromptWorker.py} (100%) diff --git a/.env.example b/.env.example index 48dd0429..cc12b4d5 100644 --- a/.env.example +++ b/.env.example @@ -26,4 +26,4 @@ BRAVE_API_KEY="" SPOONACULAR_KEY="" HF_API_KEY="Huggingface api key" -MODEL_NAME="" \ No newline at end of file +MODEL_NAME="gpt-4" \ No newline at end of file diff --git a/swarms/agents/utils/manager.py b/swarms/agents/utils/manager.py index 0c73ee9e..72f2f978 100644 --- a/swarms/agents/utils/manager.py +++ b/swarms/agents/utils/manager.py @@ -13,7 +13,7 @@ from .builder import AgentBuilder from .callback import EVALCallbackHandler, ExecutionTracingCallbackHandler -CallbackManager.set_handler(EVALCallbackHandler()) +CallbackManager.set_handler(handler=EVALCallbackHandler()) class AgentManager: diff --git a/swarms/agents/workers/metaprompt_worker.py b/swarms/agents/workers/PromptWorker.py similarity index 100% rename from swarms/agents/workers/metaprompt_worker.py rename to swarms/agents/workers/PromptWorker.py