File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
articles/ai-services/openai/includes Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,6 @@ import type {
83
83
84
84
// You will need to set these environment variables or edit the following values
85
85
const endpoint = process .env [" AZURE_OPENAI_ENDPOINT" ] || " <endpoint>" ;
86
- const apiKey = process .env [" AZURE_OPENAI_API_KEY" ] || " <api key>" ;
87
86
88
87
// Required Azure OpenAI deployment name and API version
89
88
const apiVersion = " 2024-08-01-preview" ;
@@ -160,7 +159,6 @@ const {
160
159
161
160
// You will need to set these environment variables or edit the following values
162
161
const endpoint = process .env [" AZURE_OPENAI_ENDPOINT" ] || " <endpoint>" ;
163
- const apiKey = process .env [" AZURE_OPENAI_API_KEY" ] || " <api key>" ;
164
162
const apiVersion = " 2024-05-01-preview" ;
165
163
const deployment = " gpt-4o" ; // This must match your deployment name.
166
164
You can’t perform that action at this time.
0 commit comments