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
Allow multiple providers to be used simultaniously #345
Comments
@kliu57 I don't know if you'd find this interesting to work on, but it dovetails with other changes you've done in the past. If you're interested, I could talk you through some of the aspects you'd need to consider when solving this. |
@humphd Yes I could work on this |
@humphd @tarasglek following today's meeting, this is my proposed implementation for storing multiple api keys of different providers |
@humphd @tarasglek I have a question about the remove button |
Let me suggest some ideas:
What do you think about this? I realize that this expands the scope of this issue, so feel free to break it up into smaller pieces that happen over time (e.g., add |
Note providers should not be a list. it should be associative array of {name1: {url:, key:}, name2}.. where names would be openrouter, openai for now. Arrays will get us into trouble when we want to support more providers. Agree re wiping. |
@kliu57 don't be afraid to break this into smaller pieces--we only need some of it to happen by Friday. For example, you could land the code that supports the |
At the moment to switch providers we have to go to preferences and swap out provider + key. Would like to just have a set of providers, with keys and switch between them and their models as easily as we do within one provider.
Currently openrouter has some really unique models eg perplexity model that can query the internet:
Useless openai response:
However there are some downsides of accessing gpt through openrouter(robustness, speed, privacy, etc). Also in the future we might want to use dedicated openai within Azure. For all these reasons we would like to be able to list models across multiple providers and switch between then when doing retry-with...
The text was updated successfully, but these errors were encountered: