-
Notifications
You must be signed in to change notification settings - Fork 60.2k
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
[Feature Request] 设想了一些建议,包括模型使用控制,多密码权限等等 #5298
Comments
Title: [Feature Request] envisions some suggestions, including model usage controls, multi-password permissions, etc. 🥰 Description of requirementsModel usage control (combination)Currently, there is only one model control: the My ideaRemove the
Combined with "user" permission controlThe user here refers to Access code, such as: Two Access codes are defined:
Combined with the
As shown above, password 1 does not allow the use of GPT-4 and GPT-4o, and password 2 does not allow the use of Gemini Pro 1.5 and the xxx models of Azure and Baidu. Use 🧐 SolutionSee above. 📝 Supplementary informationThis is my idea and a big project. Developers can refer to it, thank you for your efforts! |
Looking for the same myself - simply want to disable numerous models in the list that i'll never use. |
Thank you very much for your advice |
You can use this Variable: https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web?tab=readme-ov-file#custom_models-optional |
另:现在Issue区共有300多个Issue。所以感觉如果要加这个功能(或者其他类似的)要过好长时间。项目大了,Issue都看不过来(笑 |
Another note: There are now more than 300 issues in the Issue area. So it feels like it will take a long time to add this feature (or other similar features). The project is so big that even the Issue can’t even look at it (laughs) |
Where exactly do I create the .env.local file for the macos client? |
You just need use -all to disable models you never use. |
有没有类似分密码控制权限的功能呢,每个密码对应的其实类似于对应一个账户,那么每个密码应该需要隔离控制的。
泣血跪求上述功能。其实这个项目已经这么庞大了,后续是不是还是得按照功能解耦拆一拆。 |
Is there a function similar to password-controlled permissions? Each password corresponds to an account, so each password should be controlled in isolation.
I prayed for the above function with tears and blood. In fact, this project is already so huge. Will it still have to be dismantled according to functional decoupling in the future? |
🥰 需求描述
模型使用控制(结合)
目前,模型控制仅有1个:
DISABLE_GPT4
变量。这个变量是用来禁止使用 GPT-4 的。我的设想
移除
DISABLE_GPT4
变量,添加DISABLE_MODELS
变量,此变量的格式:结合"用户"权限控制
此处的用户是指Access code,比如:
定义了两个Access code:
结合
DISABLE_MODELS
变量,此变量结合了权限控制之后的格式:如上所示,密码1不允许使用 GPT-4 和 GPT-4o,密码2不允许使用 Gemini Pro 1.5 和 Azure、百度的xxx模型。两个密码的设置中间使用
|
分割。🧐 解决方案
见上。
📝 补充信息
这是一个我的设想,并且是大工程。开发人员们可以参考一下,感谢你们的付出!
The text was updated successfully, but these errors were encountered: