.NET: Update models used in dotnet samples to gpt-5.4-mini (#5080)

* Update models used in dotnet samples to gpt-5.4-mini

* Fix additional missed sample
This commit is contained in:
westey
2026-04-07 15:34:00 +00:00
committed by GitHub
parent 826d8db84c
commit e224f06e60
199 changed files with 239 additions and 239 deletions
@@ -35,7 +35,7 @@ public static class Program
// Set up the Azure AI Project client
var endpoint = Environment.GetEnvironmentVariable("AZURE_AI_PROJECT_ENDPOINT")
?? throw new InvalidOperationException("AZURE_AI_PROJECT_ENDPOINT is not set.");
var deploymentName = Environment.GetEnvironmentVariable("AZURE_AI_MODEL_DEPLOYMENT_NAME") ?? "gpt-4o-mini";
var deploymentName = Environment.GetEnvironmentVariable("AZURE_AI_MODEL_DEPLOYMENT_NAME") ?? "gpt-5.4-mini";
var chatClient = new AIProjectClient(new Uri(endpoint), new AzureCliCredential())
.ProjectOpenAIClient.GetChatClient(deploymentName).AsIChatClient();