cognis-opal / run.cmd
cognis-digital's picture
Cross-platform install + run scripts (Windows/macOS/Linux/Docker)
8ceccfb verified
Raw
History Blame Contribute Delete
374 Bytes
@echo off
REM Launch Cognis Opal (Windows). Activates the venv if present, then starts the adaptive
REM interactive chat. Extra args pass through, e.g. run.cmd --profile phone
setlocal
cd /d "%~dp0"
set PYTHONUTF8=1
if exist ".venv\Scripts\python.exe" (
".venv\Scripts\python.exe" -m synthos chat --adaptive %*
) else (
python -m synthos chat --adaptive %*
)
endlocal