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] 强烈建议支持自定义供应商,可解决大量现有问题 #6299

Open
hsdbql opened this issue Feb 26, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@hsdbql
Copy link

hsdbql commented Feb 26, 2025

🥰 Feature Description

现有的供应商和模型太多了,导致模型列表一长串,选择时不方便,但实际上很多用户并没有这么多平台的key,多数用不了不需要显示。
此外就是很多人都遇到了一个bug,一些第三方平台提供了开源部署或转发的api,但是软件并不能识别出应该用哪一个key,经常会出现调用到默认的openai供应商并返回找不到模型这种情况。

🧐 Proposed Solution

对ts不熟悉,很抱歉爱莫能助。
不过,我想到了解决思路,可供参考。

  1. 允许用户添加和移除供应商,并且可以在供应商下添加和移除模型。
  2. 每个供应商包含5项关键数据:自定义名称、URL地址、密钥、包含的模型、兼容格式(OpenAI/Google等)。
  3. 现有的供应商和模型列表数据可以作为默认模版添加。

📝 Additional Information

No response

@hsdbql hsdbql added the enhancement New feature or request label Feb 26, 2025
@Issues-translate-bot
Copy link

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


Title: [Feature Request] It is highly recommended to support custom vendors to solve a large number of existing problems

🥰 Feature Description

There are too many existing suppliers and models, which leads to a long list of model lists, which is inconvenient to choose. However, in fact, many users do not have so many keys on the platform, and most of them cannot be used and do not need to display them.
In addition, many people have encountered a bug. Some third-party platforms provide open source deployment or forwarding APIs, but the software cannot identify which key should be used. Often, it will call the default openai vendor and return to the unreachable one. Model this situation.

🧐 Proposed Solution

I'm not familiar with Ts, I'm sorry I can't help.
However, I have thought of a solution for reference.

  1. Allow users to add and remove vendors, and models can be added and removed under vendors.
  2. Each vendor contains 5 key data: custom name, URL address, key, included model, compatible format (OpenAI/Google, etc.).
  3. Existing vendor and model list data can be added as default templates.

📝 Additional Information

No response

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

2 participants