Skip to content

Commit

Permalink
Update cf-openai-azure-proxy.js
Browse files Browse the repository at this point in the history
Following the recommendation of Azure OpenAI Service official documentation, upgrade the version number of Chat Completion API to "2023-05-15".
  • Loading branch information
Caixiaopig authored May 29, 2023
1 parent b851be3 commit fbe2016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cf-openai-azure-proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const mapper = {
'gpt-4': DEPLOY_NAME_GPT4
};

const apiVersion="2023-03-15-preview"
const apiVersion="2023-05-15"

addEventListener("fetch", (event) => {
event.respondWith(handleRequest(event.request));
Expand Down

0 comments on commit fbe2016

Please sign in to comment.