fix: correct broken batch file paths and update README
- start-llama-server.bat: fix LLAMA_DIR to bin\llama (was bin\ollama), fix model to qwen2.5-coder-1.5b (was Llama-3.2-1B), use correct GPU (llama-server.exe) and CPU (cpu\llama-server-cpu.exe) binaries - start-windows-mcp.bat: remove dead python313\ tier, use single embedded Python 3.13 at python\python.exe - run-hermes.bat: use Scripts\hermes.exe instead of -m hermes_cli (no __main__.py in package), fix offline mode to use single config.yaml instead of non-existent config.offline.yaml - run-hermes.ps1: same hermes_cli → hermes.exe fix - README.txt: update to match actual USB state (Python 3.13, 142 wheels, Qwen2.5-Coder-1.5B 1117MB model, correct dir structure)
This commit is contained in:
@@ -8,6 +8,7 @@ set HERMES_HOME=%~dp0..\hermes
|
||||
set HERMES_ROOT=%~dp0..\hermes
|
||||
set HERMES_CONFIG=%HERMES_ROOT%\config.yaml
|
||||
set PYTHON=%~dp0python\python.exe
|
||||
set HERMES_CLI=%~dp0python\Scripts\hermes.exe
|
||||
set PIP=%~dp0python\Scripts\pip.exe
|
||||
set WHEELS_DIR=%~dp0bin\wheels
|
||||
set MARKER=%~dp0\.installed
|
||||
@@ -90,7 +91,14 @@ echo [*] Starting Hermes CLI (online mode - opencode-go)...
|
||||
echo.
|
||||
call :ensure_mcp
|
||||
set HERMES_HOME=%~dp0..\hermes
|
||||
"!PYTHON!" -m hermes_cli --config "!HERMES_CONFIG!"
|
||||
if not exist "!HERMES_CLI!" (
|
||||
echo [ERROR] Hermes CLI not found at !HERMES_CLI!
|
||||
echo Run this script again to install Hermes Agent first.
|
||||
echo.
|
||||
pause
|
||||
goto menu
|
||||
)
|
||||
"!HERMES_CLI!" --config "!HERMES_CONFIG!"
|
||||
echo.
|
||||
pause
|
||||
goto menu
|
||||
@@ -125,9 +133,16 @@ goto wait_llm
|
||||
:skip_wait
|
||||
echo.
|
||||
echo [*] Starting Hermes CLI (offline mode - local LLM)...
|
||||
set HERMES_HOME=%~dp0..\hermes\offline
|
||||
if not exist "!HERMES_HOME!" mkdir "!HERMES_HOME!"
|
||||
"!PYTHON!" -m hermes_cli --config "!HERMES_ROOT!\config.offline.yaml"
|
||||
echo [*] Using single config.yaml with auto-fallback to lmstudio provider.
|
||||
set HERMES_HOME=%~dp0..\hermes
|
||||
if not exist "!HERMES_CLI!" (
|
||||
echo [ERROR] Hermes CLI not found at !HERMES_CLI!
|
||||
echo Run this script again to install Hermes Agent first.
|
||||
echo.
|
||||
pause
|
||||
goto menu
|
||||
)
|
||||
"!HERMES_CLI!" --config "!HERMES_CONFIG!"
|
||||
echo.
|
||||
pause
|
||||
goto menu
|
||||
|
||||
Reference in New Issue
Block a user