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

[Request] 希望用户界面配置api key时支持多个key逗号分隔自动轮询 #6804

Closed
markintouch opened this issue Mar 8, 2025 · 5 comments
Labels
🌠 Feature Request New feature or request | 特性与建议

Comments

@markintouch
Copy link

🥰 需求描述

作为通用AI客户端,配置使用多个API key是非常常见的应用场景。当前需要通过环境变量开启多个key支持,同时多个key必须通过环境变量配置。使用非常不方便。

🧐 解决方案

即使不设置环境变量的情况下也默认支持用户界面配置逗号分隔的多个api key,默认采用轮询策略。可以参考的应用比如Cherry Studio。这个方便实用的功能是很多人选择Cherry Studio的原因之一。

📝 补充信息

No response

@markintouch markintouch added the 🌠 Feature Request New feature or request | 特性与建议 label Mar 8, 2025
@lobehubbot
Copy link
Member

👀 @markintouch

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


🥰 Requirement description

As a general AI client, configuring and using multiple API keys is a very common application scenario. Currently, multiple key support needs to be enabled through environment variables, and multiple keys must be configured through environment variables. Very inconvenient to use.

🧐 Solution

Even if environment variables are not set, the user interface is configured with comma-separated API keys by default, and the polling policy is adopted by default. Applications that can be referenced such as Cherry Studio. This convenient and practical feature is one of the reasons why many people choose Cherry Studio.

📝 Supplementary information

No response

@arvinxx
Copy link
Contributor

arvinxx commented Mar 8, 2025

现在应该就支持的,你可以试试看,只是我们界面上没体现而已

@arvinxx arvinxx closed this as completed Mar 8, 2025
@lobehubbot
Copy link
Member

@markintouch

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It should be supported now, you can try it, but it is not reflected in our interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌠 Feature Request New feature or request | 特性与建议
Projects
None yet
Development

No branches or pull requests

3 participants