deiucanta / chatpad

Not just another ChatGPT user-interface!
https://chatpad.ai
GNU Affero General Public License v3.0
1.36k stars 253 forks source link

api.openai.com still used when custom is in settings #49

Open jannable opened 1 year ago

jannable commented 1 year ago

Whenever OpenAI Type is set to "Custom (e.g. Azure OpenAI)", Auth Key is selected, and the Base and Version are provided with API Key from Azure, the app still tries to use api.openai.com to do the chatcompletion. In doing so, it fails because API key is invalid.

deiucanta commented 1 year ago

Thanks for reporting!

Really busy at the moment. Can you send a PR? I will review and merge it fast.