Skip to content

Commit c2d71d1

Browse files
committed
Add configuration tips for Puppeteer in search service documentation and include new images
1 parent 17c7ec5 commit c2d71d1

3 files changed

Lines changed: 18 additions & 0 deletions

File tree

docs/ecosystem/plugin/search-service.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,24 @@
5353

5454
配置完成后直接启用插件即可。此时已经可以正常使用 `browsing` 聊天模式和相关工具了。
5555

56+
> [!TIP] 提示
57+
> 搜索服务在浏览网页时会使用 `Puppeteer` 进行网页浏览。
58+
> 由于 `Puppeteer` 的一些奇妙问题,在使用时可能会出现异常的 CPU 占用。
59+
> 我们建议对 `puppeteer` 插件进行配置:
60+
>
61+
> ```json
62+
> [
63+
> "--no-sandbox",
64+
> "--disable-gpu"
65+
> ]
66+
> ```
67+
>
68+
> ![alt text](../../public/images/image-74.png)
69+
>
70+
> ![alt text](../../public/images/image-75.png)
71+
>
72+
> 将上面的 JSON 数组粘贴到 `puppeteer` 插件的配置项中即可。
73+
5674
## 配置项
5775
5876
此处列举了 `chatluna-search-service` 插件的配置项。

docs/public/images/image-74.png

50.4 KB
Loading

docs/public/images/image-75.png

28.6 KB
Loading

0 commit comments

Comments
 (0)