route optimizer agent with dailygrubs ai assign

This commit is contained in:
2026-09-01 13:48:58 +05:30
parent aa4d4c6549
commit 90cdb57a38
28 changed files with 3281 additions and 135 deletions

View File

@@ -151,6 +151,11 @@ async def _graceful_shutdown(system: LogiFlowAI):
t.cancel()
def command_center_mode():
from dashboard.command_center import run
run()
async def dashboard_mode():
import subprocess
logger.info("Launching Admin Dashboard at http://localhost:8501")
@@ -175,6 +180,8 @@ def main():
cmd = sys.argv[1]
if cmd == "--production":
asyncio.run(production_mode())
elif cmd == "--command-center":
command_center_mode()
elif cmd == "--dashboard":
asyncio.run(dashboard_mode())
elif cmd == "--portal":
@@ -192,6 +199,7 @@ LogiFlow AI - Autonomous Logistics Agent System
Usage:
python main.py --production Connect to NATS/Redis/Postgres and run forever
python main.py --command-center Launch JARVIS-style live Command Center (port 8600)
python main.py --dashboard Launch Streamlit admin dashboard
python main.py --portal Launch Streamlit customer portal
python main.py --help Show this help