ricklamers / gpt-code-ui

An open source implementation of OpenAI's ChatGPT Code interpreter
MIT License
3.57k stars 447 forks source link

Enhance support for Azure OpenAI #36

Closed tunayokumus closed 1 year ago

tunayokumus commented 1 year ago

With the suggested changes, Azure OpenAI Chat API is supported in a basic way.

Note that there is still no support on the front-end. The model selection on the front-end won't have an effect for Azure OpenAI. That is defined by the deployment name in the environment variables only.

As a next step the users can be enabled to provide the azure deployment name on the UI if the provider is Azure.

ricklamers commented 1 year ago

This looks great! Will run a release