feat(backend): start the service lol

This commit is contained in:
Nicholas Tindle
2025-02-03 16:19:55 -06:00
parent bef5a83bef
commit 03ebf05033
2 changed files with 4 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ def main(**kwargs):
"""
from backend.executor import DatabaseManager, ExecutionManager, ExecutionScheduler
from backend.notifications import NotificationManager
from backend.server.rest_api import AgentServer
from backend.server.ws_api import WebsocketServer
@@ -32,6 +33,7 @@ def main(**kwargs):
DatabaseManager(),
ExecutionManager(),
ExecutionScheduler(),
NotificationManager(),
WebsocketServer(),
AgentServer(),
**kwargs,

View File

@@ -1,5 +1,6 @@
from backend.app import run_processes
from backend.executor import DatabaseManager, ExecutionScheduler
from backend.notifications.notifications import NotificationManager
from backend.server.rest_api import AgentServer
@@ -8,6 +9,7 @@ def main():
Run all the processes required for the AutoGPT-server REST API.
"""
run_processes(
NotificationManager(),
DatabaseManager(),
ExecutionScheduler(),
AgentServer(),