Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Browser Use 插件使用说明
功能介绍:
本插件集成了Browser-Use工具,可以让AiPy通过浏览器访问网站,获取网页信息,
并进行分析和处理。插件会自动获取当前AiPy使用的LLM配置,无需手动设置。
安装依赖:
1. pip install browser-use
2. pip install playwright
3. playwright install chromium
使用方法:
1. 将插件复制到AiPy的插件目录(plugins)下;
1. 在任务中描述需要访问的网站和获取的信息;
2. AiPy会自动生成使用Browser-Use的代码;
3. 代码执行后,Browser-Use会打开浏览器访问网站,获取信息并返回结果.
示例任务:
"帮我打开知道创宇云防御官方网站,将网站中所有产品相关信息整理出来。"
"访问百度,搜索'人工智能最新进展',并总结前三条结果"
注意事项:
1. 首次使用时可能需要安装依赖
2. 确保网络连接正常
3. 如果遇到问题,可以查看控制台输出的错误信息
配置说明:
插件会自动获取当前AiPy使用的LLM配置(model_name, base_url, api_key),
无需手动配置。如果无法获取,会使用默认值并提示用户输入。