AutoGPT-Next-Web
AutoGPT-Next-Web copied to clipboard
好的,我本地配置了UI,但是想要为它增加网络搜索功能,我配置了NEXT_PUBLIC_WEB_SEARCH_ENABLED=true # Disables the ability to toggle web search SERP_API_KEY=
⚠️ Please check that this feature request hasn't been suggested before.请检查之前是否没有建议过此功能请求。
- [X] I searched previous Ideas in issue didn't find any similar feature requests.我搜索了之前的 Ideas in issue 没有找到任何类似的功能请求。
🔖 Feature description 功能说明
似乎没有针对本地配置完之后如何开启网络搜索的教程,能告诉我如何配置它而不是弹出 抱歉 😭
× 由于成本问题,我们不得不暂时禁用网络搜索 🌐。 但您仍然可以在您的网站上使用它。
✔️ Solution 解决方案
我希望得到本地配置相关功能的教程
❓ Alternatives 备选方案
No response
📝 Additional Context 附加上下文
No response
Acknowledgements 致谢
- [X] My issue title is concise, descriptive, and in title casing.我的问题标题简明扼要,具有描述性,并且使用标题框。
- [X] I have searched the existing issues to make sure this feature has not been requested yet.我已经搜索了现有问题以确保尚未请求此功能。
- [X] I have provided enough information for the maintainers to understand and evaluate this request.我已经为维护者提供了足够的信息来理解和评估这个请求。
本地运行时,在.env
文件中配置环境变量即可
在当前版本中仍然无法工作。
我找到了这个问题的解决方案:
前往 /stores/agentStore.ts 文件
搜索以下行并将其更改为 true:
isWebSearchEnabled: false
改为
isWebSearchEnabled: true
应该有两行。完成后,它将启用 Web 搜索按钮。
我已经测试过了。
English:
I found a solution to this issue:
Go to the /stores/agentStore.ts file
Search for this line and switch to true:
isWebSearchEnabled: false
To
isWebSearchEnabled: true
There should be to lines with this. Once you have done this, it will switch the web search button to enabled.
I have tested this.