Files
variet_llm/run_variet_engine.bat

39 lines
1.3 KiB
Batchfile
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@echo off
rem -------------------------------------------------
rem Variet LLM Engine 실행 배치 (더블‑클릭용)
rem -------------------------------------------------
rem 1⃣ 콘솔 문자 인코딩을 UTF-8 로 맞춤
chcp 65001 >nul
rem 2⃣ 프로젝트 루트 디렉터리(이 배치 파일이 있는 폴더) 로 이동
cd /d "%~dp0"
rem 3⃣ UI/UX : 시작 메시지
echo =====================================================
echo 🚀 Variet LLM Engine v1.0
echo =====================================================
echo [SYSTEM] Booting default AI Model (Fast / Gemma 26B)...
echo [SYSTEM] API Gateway listening on Port 8000
echo [SYSTEM] Ready for OpenClaude & VS Code AI Core.
echo =====================================================
echo.
rem 4⃣ Python 실행 (절대 경로)
set "PY_EXE=C:\ProgramData\miniforge3\envs\variet-llm\python.exe"
if not exist "%PY_EXE%" (
echo [ERROR] Python executable not found: %PY_EXE%
pause
exit /b 1
)
rem 5⃣ 엔진 스크립트 실행
"%PY_EXE%" "%~dp0engine\variet_engine.py"
rem 6⃣ 실행이 끝났을 때 (예: 오류) 콘솔을 유지
echo.
echo =====================================================
echo [INFO] 엔진 프로세스가 종료되었습니다.
echo (창을 닫으려면 아무 키를 누르세요)
pause