.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 16:34:00 +01:00
committed by GitHub
Unverified
parent 826d8db84c
commit e224f06e60
199 changed files with 239 additions and 239 deletions
@@ -44,7 +44,7 @@ internal static class Program
// Set up the Azure OpenAI client
var endpoint = builder.Configuration["AZURE_OPENAI_ENDPOINT"] ?? throw new InvalidOperationException("AZURE_OPENAI_ENDPOINT is not set.");
var deploymentName = builder.Configuration["AZURE_OPENAI_DEPLOYMENT_NAME"] ?? "gpt-4o-mini";
var deploymentName = builder.Configuration["AZURE_OPENAI_DEPLOYMENT_NAME"] ?? "gpt-5.4-mini";
// WARNING: DefaultAzureCredential is convenient for development but requires careful consideration in production.
// In production, consider using a specific credential (e.g., ManagedIdentityCredential) to avoid