浏览代码

fix depth param issue for WaterCrawl (#18839)

tags/1.3.1
Wesley 6 个月前
父节点
当前提交
b62eb61400
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      api/core/rag/extractor/watercrawl/provider.py

+ 1
- 1
api/core/rag/extractor/watercrawl/provider.py 查看文件

@@ -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 []


正在加载...
取消
保存