Refine RAG_WEB_LOADER

This commit is contained in:
Rory committed 2025-01-30 20:31:31 -06:00
1 parent 8dafe3cba8
commit 2452e271cd
3 files changed
+19 -19

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd "$SCRIPT_DIR" || exit
# Add conditional Playwright browser installation
if [[ "${RAG_WEB_LOADER,,}" == "chromium" ]]; then
if [[ "${RAG_WEB_LOADER,,}" == "playwright" ]]; then
echo "Installing Playwright browsers..."
playwright install chromium
playwright install-deps chromium