Procházet zdrojové kódy

fix depth param issue for WaterCrawl (#18839)

tags/1.3.1
Wesley před 6 měsíci
rodič
revize
b62eb61400
Žádný účet není propojen s e-mailovou adresou tvůrce revize
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      api/core/rag/extractor/watercrawl/provider.py

+ 1
- 1
api/core/rag/extractor/watercrawl/provider.py Zobrazit soubor

@@ -20,7 +20,7 @@ class WaterCrawlProvider:
}
if options.get("crawl_sub_pages", True):
spider_options["page_limit"] = options.get("limit", 1)
spider_options["max_depth"] = options.get("depth", 1)
spider_options["max_depth"] = options.get("max_depth", 1)
spider_options["include_paths"] = options.get("includes", "").split(",") if options.get("includes") else []
spider_options["exclude_paths"] = options.get("excludes", "").split(",") if options.get("excludes") else []


Načítá se…
Zrušit
Uložit