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]: How can I "define" many LLM providers (with their creds) and then use them accordingly? #4680

Open
younes-io opened this issue May 14, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@younes-io
Copy link

Problem Description

For now, it's hard to switch between LLM providers. Every time I have to switch from one LLM provider to another, I need to get the API key and copy/paste manually, then put the URL of the other LLM provider, etc.

This is not very efficient, I think. It would be great to have a way to set up many LLM providers and their models, then switch between them using a drop down list. This also will make it easier for masks. Today, a mask with an LLM that belongs to an LLM provider that's not my "current" LLM, will fail; I have to switch manually to make it work.

Solution Description

So, I believe the definition of LLM/LLM provider should be done in the setup, and then each conversation/mask should use the credentials defined with the LLM provider details required to call the LLM.

Alternatives Considered

I'm already using https://big-agi.com/ because Next-Chat doesn't support this feature unfortunately

Additional Context

#4669

@younes-io younes-io added the enhancement New feature or request label May 14, 2024
@Green-li
Copy link

Problem Description

For now, it's hard to switch between LLM providers. Every time I have to switch from one LLM provider to another, I need to get the API key and copy/paste manually, then put the URL of the other LLM provider, etc.

This is not very efficient, I think. It would be great to have a way to set up many LLM providers and their models, then switch between them using a drop down list. This also will make it easier for masks. Today, a mask with an LLM that belongs to an LLM provider that's not my "current" LLM, will fail; I have to switch manually to make it work.

Solution Description

So, I believe the definition of LLM/LLM provider should be done in the setup, and then each conversation/mask should use the credentials defined with the LLM provider details required to call the LLM.

Alternatives Considered

I'm already using https://big-agi.com/ because Next-Chat doesn't support this feature unfortunately

Additional Context

#4669

Maybe you can deploy the one-api(https://github.com/songquanpeng/one-api), and add different provides to the one api.

@fred-bf
Copy link
Contributor

fred-bf commented May 14, 2024

We are developing v3 of NextChat, which would be easily create new model provider and will publish more details soon

#4622

@younes-io
Copy link
Author

alright, thank you

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

3 participants