Skip to content

Commit 2e5a0c9

Browse files
committed
ENV VAR dup caution
1 parent 1f7aac4 commit 2e5a0c9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ For _keyless_ authentication, you need to
6666

6767
## Retrieve resource information
6868

69-
> [!CAUTION]
70-
> To use the recommended keyless authentication with the SDK, make sure that the `AZURE_OPENAI_API_KEY` environment variable isn't set.
71-
7269
#### [Microsoft Entra ID](#tab/javascript-keyless)
7370

7471
[!INCLUDE [assistants-keyless-environment-variables](assistants-env-var-without-key.md)]
@@ -81,7 +78,7 @@ For _keyless_ authentication, you need to
8178
---
8279

8380
> [!CAUTION]
84-
> Don't set `AZURE_OPENAI_API_KEY` when using keyless authentication.
81+
> To use the recommended keyless authentication with the SDK, make sure that the `AZURE_OPENAI_API_KEY` environment variable isn't set.
8582
8683
8784
## Create an assistant

0 commit comments

Comments
 (0)