lobe-chat
lobe-chat copied to clipboard
[Request] ability to disable custom api entry.
🥰 Feature Description
Add option to disable the ability for users to add a custom API, so they can only access and use it if they have an access code.
🧐 Proposed Solution
Likely via an environment variable such as DISABLE_CUSTOM_API
📝 Additional Information
No response
👀 @GOvEy1nw
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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
That is a needed one! Don't want to provide the bandwith for everyone :D
We have supported it, please check document: https://lobehub.com/docs/self-hosting/advanced/feature-flags
✅ @GOvEy1nw
This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。
@arvinxx its still possible to set the openAI key after first setup when you need to enter the app password. This is a fresh user / browser / OS that never used LobeChat before
My featureflags:
FEATURE_FLAGS=-webrtc_sync,-language_model_settings,-openai_api_key,-openai_proxy_url,-create_session,-edit_agent,-dalle,-check_updates,-welcome_suggest
Screenshot:
@HRA42 Thanks the catch, this is the missing one