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

[Feature Request] 能否把界面模型列表的提供商名字不展示 #316

Closed
winter2399 opened this issue Oct 31, 2024 · 12 comments
Closed
Labels
enhancement New feature or request

Comments

@winter2399
Copy link

🥰 需求描述

image
上面的提供商名字能不展示吗?看着好长,只展示模型名可以吗?

🧐 解决方案

请大佬修改源码,只展示模型名,不展示提供商名字。

📝 补充信息

如果不可以,可以说下改哪些地方吗?

@winter2399 winter2399 added the enhancement New feature or request label Oct 31, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: [Feature Request] Can the provider name of the interface model list not be displayed?

🥰 Description of requirements

image
Can the provider name above not be displayed? It looks very long. Can I just show the model name?

🧐 Solution

Please modify the source code to only display the model name and not the provider name.

📝 Supplementary information

If not, can you tell me what should be changed?

@cnmozzie
Copy link

其实我更希望大佬能解决这个上游的这个issue,里面有个PR5160,但是不知道为什么一直不合并

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


In fact, I hope that the boss can solve this upstream issue. There is PR5160 in it, but I don’t know why it has not been merged.

@Hk-Gosuto
Copy link
Owner

显示提供商名字估计是主要用来区分OpenAI和Auzre这种模型名一样但是提供商不一样的。
删除某些提供商的模型倒是挺实用的,明天我处理一下。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Displaying the provider name is probably mainly used to distinguish OpenAI and Auzre, which have the same model name but different providers.
It is quite practical to delete the models of some providers. I will deal with it tomorrow.

@winter2399
Copy link
Author

显示提供商名字估计是主要用来区分OpenAI和Auzre这种模型名一样但是提供商不一样的。 删除某些提供商的模型倒是挺实用的,明天我处理一下。

大佬能否加个模型列表不显示提供商的环境变量(弱弱问下)。
这个需求确实有点小众了,大佬不加也不麻烦大佬了,毕竟大佬无私维护项目已经很辛苦了

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Displaying the provider name is probably mainly used to distinguish OpenAI and Auzre, which have the same model name but different providers. It is quite practical to delete the models of some providers. I will deal with it tomorrow.

Could you please add a model list that does not display the provider's environment variables? (I have a weak question).
This demand is indeed a bit niche, so don’t bother the big guys if you don’t want to join. After all, the big guys have been working hard to maintain the project selflessly.

@MuRo-J
Copy link

MuRo-J commented Oct 31, 2024

image
现在的CUSTOM_MODELS 配置能达成这个效果呢,感觉可以满足嘞

-all,+gpt-4o@openai=gpt-4o,+gpt-4o-mini@openai=gpt-4o-mini,+o1-preview@openai=gpt-o1,+o1-mini@openai=gpt-o1-mini,+gemini-1.5-flash-latest@google=gemini-1.5,+gemini-1.5-pro-latest@google=gemini-1.5-pro,+claude-3-opus-20240229@anthropic=claude-3-opus,+claude-3-5-sonnet-20241022@anthropic=claude-3.5-sonnet

然后还有个
DEFAULT_MODEL
配合使用前置自己常用模型

gpt-4o

image

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


image
The current CUSTOM_MODELS configuration can achieve this effect. I feel that it is satisfactory.

-all,+gpt-4o@openai=gpt-4o,+gpt-4o-mini@openai=gpt-4o-mini,+o1-preview@openai=gpt-o1,+o1-mini@openai=gpt-o1 -mini,+gemini-1.5-flash-latest@google=gemini-1.5,+gemini-1.5-pro-latest@google=gemini-1.5-pro,+claude-3-opus-20240229@anthropic=claude-3- opus,+claude-3-5-sonnet-20241022@anthropic=claude-3.5-sonnet

Then there is another
DEFAULT_MODEL
Use it in conjunction with pre-provisioning your own commonly used models

gpt-4o

@winter2399
Copy link
Author

image 现在的CUSTOM_MODELS 配置能达成这个效果呢,感觉可以满足嘞

-all,+gpt-4o@openai=gpt-4o,+gpt-4o-mini@openai=gpt-4o-mini,+o1-preview@openai=gpt-o1,+o1-mini@openai=gpt-o1-mini,+gemini-1.5-flash-latest@google=gemini-1.5,+gemini-1.5-pro-latest@google=gemini-1.5-pro,+claude-3-opus-20240229@anthropic=claude-3-opus,+claude-3-5-sonnet-20241022@anthropic=claude-3.5-sonnet

然后还有个 DEFAULT_MODEL 配合使用前置自己常用模型

gpt-4o

image

image
是的,非常好用,我也在使用。主要是因为最新版不知道模型怎么排序,模型与在代码里出现的顺序不一致,而为了顺序修改提供商,看着憋扭

@Hk-Gosuto
Copy link
Owner

加了个环境变量,配置 DISABLE_MODEL_PROVIDER_DISPLAY=1 关闭 Provider 显示。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Added an environment variable and configured DISABLE_MODEL_PROVIDER_DISPLAY=1 to turn off Provider display.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants