21 lines
587 B
Batchfile
21 lines
587 B
Batchfile
@echo off
|
|
echo ============================================================
|
|
echo Starting Ollama AI Server
|
|
echo ============================================================
|
|
echo.
|
|
echo This window must stay open while using TechScout.
|
|
echo.
|
|
echo If this is your first time, the model will download (~4GB)
|
|
echo.
|
|
|
|
:: Check if model exists, if not pull it
|
|
ollama list | findstr "mistral-nemo:12b" >nul 2>&1
|
|
if errorlevel 1 (
|
|
echo Downloading mistral-nemo:12b model (this may take a few minutes)...
|
|
ollama pull mistral-nemo:12b
|
|
)
|
|
|
|
echo Starting Ollama server...
|
|
echo.
|
|
ollama serve
|