Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

好的,我本地配置了UI,但是想要为它增加网络搜索功能,我配置了NEXT_PUBLIC_WEB_SEARCH_ENABLED=true # Disables the ability to toggle web search SERP_API_KEY= #178

Open
4 tasks done
YXY-EMYX opened this issue May 20, 2023 · 4 comments
Assignees
Labels
question Further information is requested

Comments

@YXY-EMYX
Copy link

⚠️ Please check that this feature request hasn't been suggested before.请检查之前是否没有建议过此功能请求。

  • I searched previous Ideas in issue didn't find any similar feature requests.我搜索了之前的 Ideas in issue 没有找到任何类似的功能请求。

🔖 Feature description 功能说明

似乎没有针对本地配置完之后如何开启网络搜索的教程,能告诉我如何配置它而不是弹出
抱歉 😭

×
由于成本问题,我们不得不暂时禁用网络搜索 🌐。
但您仍然可以在您的网站上使用它。

More Detials

✔️ Solution 解决方案

我希望得到本地配置相关功能的教程

❓ Alternatives 备选方案

No response

📝 Additional Context 附加上下文

No response

Acknowledgements 致谢

  • My issue title is concise, descriptive, and in title casing.我的问题标题简明扼要,具有描述性,并且使用标题框。
  • I have searched the existing issues to make sure this feature has not been requested yet.我已经搜索了现有问题以确保尚未请求此功能。
  • I have provided enough information for the maintainers to understand and evaluate this request.我已经为维护者提供了足够的信息来理解和评估这个请求。
@YXY-EMYX YXY-EMYX added the enhancement New feature or request label May 20, 2023
@Dogtiti Dogtiti added question Further information is requested and removed enhancement New feature or request labels May 20, 2023
@Dogtiti
Copy link
Member

Dogtiti commented Jun 7, 2023

本地运行时,在.env文件中配置环境变量即可

@Michspirit99
Copy link

在当前版本中仍然无法工作。

@Michspirit99
Copy link

我找到了这个问题的解决方案:

前往 /stores/agentStore.ts 文件

搜索以下行并将其更改为 true:

isWebSearchEnabled: false

改为

isWebSearchEnabled: true

应该有两行。完成后,它将启用 Web 搜索按钮。

我已经测试过了。

@Michspirit99
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants