Former-commit-id: ac44a278d917e4c05b8800b46904a89d230e0eaf
pull/160/head
Kye 1 year ago
parent 29df2d174a
commit df6d3c68f6

@ -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

@ -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()
# Print the result
print(result)
Loading…
Cancel
Save