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

[Request] 希望能通过环境变量配置搜索引擎插件的API Key #508

Closed
TonyBlur opened this issue Nov 24, 2023 · 5 comments · Fixed by #821
Closed

[Request] 希望能通过环境变量配置搜索引擎插件的API Key #508

TonyBlur opened this issue Nov 24, 2023 · 5 comments · Fixed by #821
Assignees
Labels
🌠 Feature Request New feature or request | 特性与建议 released

Comments

@TonyBlur
Copy link

🥰 需求描述 | Feature Description

希望能通过环境变量配置搜索引擎插件的API Key,因为在多个设备使用同一serp API key需要多次输入,如果可以实现在vercel等后天环境变量提前配置好将会方便许多

🧐 解决方案 | Proposed Solution

预置一个环境变量,并当检测到搜索引擎插件启用时,把该变量的值给填到SERPAPI_API_KEY中

📝 补充信息 | Additional Information

No response

@TonyBlur TonyBlur added the 🌠 Feature Request New feature or request | 特性与建议 label Nov 24, 2023
@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


🥰 Requirement Description | Feature Description

I hope that the API Key of the search engine plug-in can be configured through environment variables, because using the same serp API key on multiple devices requires multiple entries. It will be much more convenient if the acquired environment variables such as vercel can be configured in advance.

🧐 Solution | Proposed Solution

Preset an environment variable, and when it is detected that the search engine plug-in is enabled, fill in the value of the variable into SERPAPI_API_KEY

📝 Additional Information |

No response

@lobehubbot
Copy link
Member

👀 @TonyBlur

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@arvinxx
Copy link
Contributor

arvinxx commented Nov 25, 2023

#411 跟进

@lobehubbot
Copy link
Member

@TonyBlur

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

@lobehubbot
Copy link
Member

🎉 This issue has been resolved in version 0.117.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌠 Feature Request New feature or request | 特性与建议 released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants