-
-
Notifications
You must be signed in to change notification settings - Fork 12k
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] 服务端配置自定义模型服务商 #6311
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
🥰 Requirement descriptionAlthough there are currently a large number of model service providers to choose from on the self-hosted server through environment variables, if you want to use a privately deployed model API or access a relatively unknown model service provider, you can only add only one on the client The custom model service provider configuration available under the current account, but the administrator has no way to configure it for all users. So I hope to provide a way to declare the model of the custom model provider and its subordinates by the administrator in the configuration file on the server. 🧐 SolutionYou can add a 📝 Supplementary informationNo response |
非常需要 |
Very needed |
🥰 需求描述
目前虽然在self-hosted服务端通过环境变量的方式提供了大量的模型服务商供选择,但是如果希望使用私有部署的模型API或接入相对不知名的模型服务商,只能在客户端添加仅在当前账号下可用的自定义模型服务商配置,而管理员没有办法为所有的用户统一配置。因此我希望能提供一种方法,由管理员在服务端的配置文件中声明自定义模型服务商及其下属的模型。
🧐 解决方案
可以添加一个
CUSTOM_MODEL_PROVIDERS
服务端环境变量,接收json字符串,例如The text was updated successfully, but these errors were encountered: