-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.bat
More file actions
42 lines (38 loc) · 911 Bytes
/
Copy pathstart.bat
File metadata and controls
42 lines (38 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
@echo off
echo ============================================
echo MemoryQwen v0.1.5 — Developer Preview
echo ============================================
echo.
echo Requirements:
echo 1. Ollama running (or LM Studio with OpenAI API)
echo 2. Python 3.11+ in PATH
echo 3. pip install -r requirements.txt (done?)
echo.
echo Checking environment...
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo [ERROR] Python not found. Install Python 3.11+
pause
exit /b 1
)
echo.
python -m src.cli health
echo.
echo ============================================
echo Start chatting: type a message below
echo Type /exit to quit
echo ============================================
echo.
cd /d "%~dp0"
:loop
set "MSG="
set /p "MSG=You > "
if /i "%MSG%"=="/exit" goto end
if "%MSG%"=="" goto loop
echo.
python -m src.cli chat "%MSG%" --web --session startbat
echo.
goto loop
:end
echo Bye!
pause