From aa49d5b0b6d60a2173abe72c29faeca508c98be4 Mon Sep 17 00:00:00 2001 From: Kye Date: Mon, 25 Sep 2023 17:55:45 -0400 Subject: [PATCH] clean up Former-commit-id: c60a115eed98a729b6af259c150c7ef4a6f1a3b4 --- swarms/workers/worker.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/swarms/workers/worker.py b/swarms/workers/worker.py index ba658f9d..368a1c72 100644 --- a/swarms/workers/worker.py +++ b/swarms/workers/worker.py @@ -51,9 +51,9 @@ class Worker: ``` """ - @log_decorator - @error_decorator - @timing_decorator + # @log_decorator + # @error_decorator + # @timing_decorator def __init__( self, model_name="gpt-4", @@ -140,9 +140,9 @@ class Worker: # return results - @log_decorator - @error_decorator - @timing_decorator + # @log_decorator + # @error_decorator + # @timing_decorator def setup_tools(self, external_tools): """ Set up tools for the worker. @@ -205,9 +205,9 @@ class Worker: except Exception as error: raise RuntimeError(f"Error setting up agent: {error}") - @log_decorator - @error_decorator - @timing_decorator + # @log_decorator + # @error_decorator + # @timing_decorator def run(self, task): """ Run the autonomous agent on a given task. @@ -224,9 +224,9 @@ class Worker: except Exception as error: raise RuntimeError(f"Error while running agent: {error}") - @log_decorator - @error_decorator - @timing_decorator + # @log_decorator + # @error_decorator + # @timing_decorator def __call__(self, task): """ Make the worker callable to run the agent on a given task.