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
[Bug]: Using OPENROUTER_API_KEY
breaks all librechat.yaml custom endpoints
#2097
Comments
This is why OPENROUTER_API_KEY is not recommended for use. however I can think of a way to hotfix preventing the "breaking" |
That would be great! OpenAI recently switched to pre-paid billing, and they’ve decided to stop accepting my money at the same time for some mysterious reasons 🤷♂️. I’m already paying for the same models in two places so I figured I’d switch over to OpenRouter. Since I don’t really use assistants and I can easily integrate OpenRouter with plugins I wouldn't loose much. |
What happened?
I attempted to configure OpenRouter using
OPENROUTER_API_KEY
to override the OpenAI endpoint, to use gpt-3.5/gpt-4 and plugins with them instead of OpenAI. However, this modification disrupted all other custom endpoints I had configured in the YAML configuration file, with the exception of OpenRouter itself.Steps to Reproduce
OPENROUTER_API_KEY
groq
Relevant log output
I can produce more logs if required:
Screenshots
Code of Conduct
The text was updated successfully, but these errors were encountered: