Niek / chatgpt-web

ChatGPT web interface using the OpenAI API
https://niek.github.io/chatgpt-web/
GNU General Public License v3.0
1.79k stars 459 forks source link

support for openrouter.ai #352

Open timothelaborie opened 8 months ago

timothelaborie commented 8 months ago

There are many models here: https://openrouter.ai/docs#models

Can we add support for this? There is already a page where the user can add their API key for petals, so there could be an additional section for the openrouter key there

timothelaborie commented 6 months ago

I made a fork that uses openrouter instead: https://timothelaborie.github.io/chatgpt-web/ My changes to the original can be found here https://github.com/timothelaborie/chatgpt-web/commit/55e7de77c3cba485fb5e31fe4095400e59598aa1 Also it automatically downloads the openrouter model list when the page is loaded.