Skip to content

Commit f959eaa

Browse files
committed
merge branch 'main' into sdg-updates
1 parent 3ff9c98 commit f959eaa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

articles/ai-foundry/quickstarts/get-started-code.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,13 @@ No installation is necessary to use the Azure AI Foundry portal.
8080
8181
1. [!INCLUDE [find-endpoint](../includes/find-endpoint.md)]
8282
83-
1. Set these environment variables to use in your scripts:
83+
1. Set these environment variables to use in your scripts. The `AZURE_AI_ENDPOINT` is the project endpoint you copied earlier. Remove everything after `.com/` in that endpoint to form `AZURE_AI_INFERENCE`.
8484
8585
:::code language="plaintext" source="~/foundry-samples-main/samples/microsoft/csharp/mslearn-resources/quickstart/Samples/.env.example":::
8686
87+
> [!TIP]
88+
> The agent samples require the `AZURE_AI_MODEL` environment variable to be set to an OpenAI-compatible model, e.g. `gpt-4.1`, as not all models are supported for agent use cases, including tooling.
89+
8790
1. Make sure to sign in using the CLI `az login` (or `az login --use-device-code`) command to authenticate before running your C# scripts.
8891
8992
> [!NOTE]

0 commit comments

Comments
 (0)