diff --git a/cf-openai-azure-proxy.js b/cf-openai-azure-proxy.js index 51a266f..b01cf0e 100644 --- a/cf-openai-azure-proxy.js +++ b/cf-openai-azure-proxy.js @@ -4,10 +4,11 @@ const resourceName=RESOURCE_NAME // The deployment name you chose when you deployed the model. const mapper = { 'gpt-3.5-turbo': DEPLOY_NAME_GPT35, + 'gpt-3.5-turbo-16k': DEPLOY_NAME_GPT35_16K, 'gpt-4': DEPLOY_NAME_GPT4 }; -const apiVersion="2023-05-15" +const apiVersion="2023-06-01-preview" addEventListener("fetch", (event) => { event.respondWith(handleRequest(event.request));