-
Notifications
You must be signed in to change notification settings - Fork 61.2k
[Feature Request] 建议CUSTOM_MODELS 的-(减号)支持通配或正则,并支持直接减去某个运营商的所有模型 #5050
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
Comments
Title: [Feature Request] It is recommended that the - (minus sign) of CUSTOM_MODELS supports wildcards or regularization, and supports direct subtraction of all models of a certain operator 🥰 Description of requirementsIn view of the growing list of models now 🧐 SolutionIt is recommended to add wildcards or regular matching to the - syntax of CUSTOM_MODELS, such as -ernie-* 📝 Supplementary informationNo response |
很好的建议,支持 |
Great advice, support |
后面会考虑根据你的环境变量是否配置了对应的apikey 来显示对应的模型 |
Later, we will consider whether the corresponding apikey is configured according to your environment variables to display the corresponding model. |
这个建议极好,期待 |
This is great advice, looking forward to it |
如果设置了 |
Is it possible to add a configuration item (for example: GET_MODEL_LIST), and first request |
之前倒是有个老的 pr 是支持在前端手动获取可用模型列表:#4815 |
There was an old PR that supported manually obtaining the list of available models on the front end: #4815 |
期待这个功能,现在模型太多了,每次选择都要滑好久 |
Looking forward to this function. There are too many models now, and it takes a long time to swipe every time I choose. |
Just to follow up, any updates on this enhancement feature? There're more and more new models nowadays and it's really annoying to modify the CUSTOM_MODELS env variable in Vercel each time new models are added to deployment. |
There is a PR #5992 that hasn't been processed, and it's uncertain whether it is compatible with the current project now. Sad. |
Can't agree more. Looking forward to an automated solution for managing the CUSTOM_MODELS env variable. It would definitely streamline our deployment process and save us a lot of time! |
🥰 需求描述
鉴于现在模型列表越来越多
有些用不上的(或者没有api token)的模型需要隐藏
建议在CUSTOM_MODELS 的-语法上增加通配符或正则匹配 比如 -ernie-*
同时比如 我用不上百度的 可以直接类似于 -@baidu 就可以把百度所有模型隐藏掉
🧐 解决方案
建议在CUSTOM_MODELS 的-语法上增加通配符或正则匹配 比如 -ernie-*
同时比如 我用不上百度的 可以直接类似于 -@baidu 就可以把百度所有模型隐藏掉
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: