Agent Zero AI framework
faster startup
frdel1654baf1695b
diff --git a/run_ui.py b/run_ui.pyindex 07ae1c82f..f16fb6db3 100644--- a/run_ui.py+++ b/run_ui.py@@ -245,14 +245,15 @@ def run():def init_a0():# initialize contexts and MCPinit_chats = initialize.initialize_chats()+ # only wait for init chats, otherwise they would seem to disappear for a while on restart+ init_chats.result_sync()+initialize.initialize_mcp()# start job loopinitialize.initialize_job_loop()# preloadinitialize.initialize_preload()- # only wait for init chats, otherwise they would seem to dissapear for a while on restart- init_chats.result_sync()# run the internal server