diff --git a/swarms/agents/workers/WorkerUltraNode.py b/swarms/agents/workers/WorkerUltraNode.py index 10eb0459..fd90e924 100644 --- a/swarms/agents/workers/WorkerUltraNode.py +++ b/swarms/agents/workers/WorkerUltraNode.py @@ -108,4 +108,4 @@ class WorkerUltra: return self.worker_node.execute_task() except Exception as e: logging.error(f"Error while executing: {str(e)}") - raise e + raise e \ No newline at end of file diff --git a/worker_ultra.py b/worker_ultra.py index a6981b28..d4ad3cf0 100644 --- a/worker_ultra.py +++ b/worker_ultra.py @@ -15,7 +15,11 @@ I want it to have neumorphism-style. Serve it on port 4500. """ -node = WorkerUltra(objective, api_key=api_key) +# Create an instance of WorkerUltra +worker = WorkerUltra(objective, api_key) +# Execute the task +result = worker.execute() -result = node.execute() \ No newline at end of file +# Print the result +print(result) \ No newline at end of file