mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-11 15:25:16 -05:00
19 lines
394 B
Python
19 lines
394 B
Python
from backend.app import run_processes
|
|
from backend.executor import DatabaseManager, ExecutionScheduler
|
|
from backend.server.rest_api import AgentServer
|
|
|
|
|
|
def main():
|
|
"""
|
|
Run all the processes required for the AutoGPT-server REST API.
|
|
"""
|
|
run_processes(
|
|
DatabaseManager(),
|
|
ExecutionScheduler(),
|
|
AgentServer(),
|
|
)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|