Refine RAG_WEB_LOADER

This commit is contained in:
Rory
2025-01-30 20:31:31 -06:00
parent 8dafe3cba8
commit 2452e271cd
3 changed files with 19 additions and 19 deletions

View File

@@ -7,7 +7,7 @@ SET "SCRIPT_DIR=%~dp0"
cd /d "%SCRIPT_DIR%" || exit /b
:: Add conditional Playwright browser installation
IF /I "%RAG_WEB_LOADER%" == "chromium" (
IF /I "%RAG_WEB_LOADER%" == "playwright" (
echo Installing Playwright browsers...
playwright install chromium
playwright install-deps chromium