stop-all.bat 992 Bytes
@echo off
chcp 65001 >nul
title LLM Call Platform - Stop All Services

echo ========================================
echo   LLM Call Platform - Stopping Services
echo ========================================
echo.

:: 1. Frontend (Vite / Node)
echo [1/4] Stopping Frontend (Vite) ...
taskkill /f /fi "WINDOWTITLE eq Frontend" /t >nul 2>&1

:: 2. Backend (Uvicorn)
echo [2/4] Stopping Backend (Uvicorn) ...
taskkill /f /fi "WINDOWTITLE eq Backend" /t >nul 2>&1

:: 3. Celery Worker
echo [3/4] Stopping Celery Worker ...
taskkill /f /fi "WINDOWTITLE eq Celery" /t >nul 2>&1

:: 4. Redis
echo [4/4] Stopping Redis ...
taskkill /f /fi "WINDOWTITLE eq Redis" /t >nul 2>&1

:: 后备:清理残留进程
taskkill /f /im uvicorn.exe >nul 2>&1
taskkill /f /im node.exe >nul 2>&1
taskkill /f /im python.exe >nul 2>&1
taskkill /f /im redis-server.exe >nul 2>&1

echo.
echo ========================================
echo   All services stopped!
echo ========================================
echo.
pause