()
| 7 | |
| 8 | |
| 9 | def run(): |
| 10 | configure_process_environment() |
| 11 | PrintStyle().print("Initializing Python framework...") |
| 12 | PrintStyle().print("Checking for data migration...") |
| 13 | run_migration_checks() |
| 14 | |
| 15 | PrintStyle().print("Preparing web server runtime...") |
| 16 | server_runtime, host, port = prepare_web_runtime() |
| 17 | |
| 18 | PrintStyle().print("Initializing Agent Zero components...") |
| 19 | init_a0() |
| 20 | |
| 21 | PrintStyle().print("Starting UI/API server...") |
| 22 | start_web_server(server_runtime, host, port) |
| 23 | |
| 24 | |
| 25 | def run_migration_checks() -> None: |
no test coverage detected