dmytrobaida / GPTCommitVSCode

VS Code extension which helps to generate AI commit messages using ChatGPT
https://marketplace.visualstudio.com/items?itemName=DmytroBaida.gpt-commit
MIT License
37 stars 29 forks source link

gptcommit.openAI.customEndpoint #10

Open rachaelsingleton opened 1 year ago

rachaelsingleton commented 1 year ago

Can I use an Azure Open AI Endpoint with this? Any particular way to structure the endpoint?

I.e.

"gptcommit.openAI.customEndpoint": "https://<account>.openai.azure.com or "gptcommit.openAI.customEndpoint": "https://<account>.openai.azure.com/openai/deployments/<deployment>/chat/completions?api-version=2023-03-15-preview"

tmeckel commented 1 month ago

@rachaelsingleton tried it myself and by looking at the code: GPTCOmmit does not support Azure OpenAI.