Skip to content

Commit 759af90

Browse files
committed
edit
1 parent d729796 commit 759af90

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

articles/ai-services/openai/includes/chatgpt-javascript.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ import type {
8383

8484
// You will need to set these environment variables or edit the following values
8585
const endpoint = process.env["AZURE_OPENAI_ENDPOINT"] || "<endpoint>";
86-
const apiKey = process.env["AZURE_OPENAI_API_KEY"] || "<api key>";
8786

8887
// Required Azure OpenAI deployment name and API version
8988
const apiVersion = "2024-08-01-preview";
@@ -160,7 +159,6 @@ const {
160159

161160
// You will need to set these environment variables or edit the following values
162161
const endpoint = process.env["AZURE_OPENAI_ENDPOINT"] || "<endpoint>";
163-
const apiKey = process.env["AZURE_OPENAI_API_KEY"] || "<api key>";
164162
const apiVersion = "2024-05-01-preview";
165163
const deployment = "gpt-4o"; //This must match your deployment name.
166164

0 commit comments

Comments
 (0)