From c0ec40e48382bfd6393fc9918c1294fd6408bd18 Mon Sep 17 00:00:00 2001 From: -LAN- Date: Thu, 18 Jul 2024 19:23:18 +0800 Subject: [PATCH] fix(api/core/tools/provider/builtin/spider/tools/scraper_crawler.yaml): Fix wrong placeholder config in scraper crawler tool. (#6432) --- .../provider/builtin/spider/tools/scraper_crawler.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/api/core/tools/provider/builtin/spider/tools/scraper_crawler.yaml b/api/core/tools/provider/builtin/spider/tools/scraper_crawler.yaml index 4ebdce61ff..5b20c2fc2f 100644 --- a/api/core/tools/provider/builtin/spider/tools/scraper_crawler.yaml +++ b/api/core/tools/provider/builtin/spider/tools/scraper_crawler.yaml @@ -74,7 +74,8 @@ parameters: human_description: en_US: blacklist a set of paths that you do not want to crawl. you can use regex patterns to help with the list. zh_Hans: 指定一组不想爬取的路径。您可以使用正则表达式模式来帮助定义列表。 - placeholder: /blog/*, /about + placeholder: + en_US: /blog/*, /about form: form - name: whitelist type: string @@ -85,7 +86,8 @@ parameters: human_description: en_US: Whitelist a set of paths that you want to crawl, ignoring all other routes that do not match the patterns. You can use regex patterns to help with the list. zh_Hans: 指定一组要爬取的路径,忽略所有不匹配模式的其他路由。您可以使用正则表达式模式来帮助定义列表。 - placeholder: /blog/*, /about + placeholder: + en_US: /blog/*, /about form: form - name: readability type: boolean