.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
@@ -14,7 +14,7 @@ using OpenAI.Chat;
using ChatMessage = Microsoft.Extensions.AI.ChatMessage;
var endpoint = Environment.GetEnvironmentVariable("AZURE_OPENAI_ENDPOINT") ?? throw new InvalidOperationException("AZURE_OPENAI_ENDPOINT is not set.");
var deploymentName = Environment.GetEnvironmentVariable("AZURE_OPENAI_DEPLOYMENT_NAME") ?? "gpt-4o-mini";
var deploymentName = Environment.GetEnvironmentVariable("AZURE_OPENAI_DEPLOYMENT_NAME") ?? "gpt-5.4-mini";
// Create a sample function tool that the agent can use.
[Description("Get the weather for a given location.")]