Auto-commit: OCR workflow improvements, performance optimizations, and bug fixes

This commit is contained in:
2026-01-11 18:21:16 +08:00
parent 642dd0ea5f
commit 1ddd49f913
97 changed files with 5909 additions and 451 deletions

View File

@@ -21,8 +21,34 @@ if defined pid (
echo No existing server found on port 3015.
)
REM Recompile web UI if source exists
echo Checking web UI source...
if exist "LightRAG-main\lightrag_webui\package.json" (
echo Found web UI source. Building...
REM Ensure Node version 22.17.1
where nvm >nul 2>&1
if not errorlevel 1 (
echo Using nvm to switch to Node 22.17.1...
call nvm use 22.17.1
) else (
echo nvm not found, using system Node.
)
cd LightRAG-main\lightrag_webui
REM Check if bun is available
where bun >nul 2>&1
if errorlevel 1 (
echo bun not found, using npm...
call npm run build-no-bun
) else (
echo Using bun...
call bun run build
)
cd ..\..
echo Web UI build completed.
) else (
echo Web UI source not found, using pre-built assets.
)
REM Start the LightRAG server using the fixed Python script
echo Starting LightRAG server...
python start_server_fixed.py
pause
python start_server_fixed.py