From baa7d6e3204f4e7e145fb42755c5ae36df99967f Mon Sep 17 00:00:00 2001 From: Peder Holdgaard Pedersen <127606677+PederHP@users.noreply.github.com> Date: Thu, 6 Nov 2025 19:58:01 +0100 Subject: [PATCH] Update ModelId in ChatOptions to new version (#926) --- samples/QuickstartClient/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/QuickstartClient/Program.cs b/samples/QuickstartClient/Program.cs index cd1c4c6..598f883 100644 --- a/samples/QuickstartClient/Program.cs +++ b/samples/QuickstartClient/Program.cs @@ -50,7 +50,7 @@ using var anthropicClient = new AnthropicClient(new APIAuthentication(builder.Co var options = new ChatOptions { MaxOutputTokens = 1000, - ModelId = "claude-3-5-sonnet-20241022", + ModelId = "claude-haiku-4-5-20251001", Tools = [.. tools] }; @@ -121,4 +121,4 @@ static string GetCurrentSourceDirectory([CallerFilePath] string? currentFile = n { Debug.Assert(!string.IsNullOrWhiteSpace(currentFile)); return Path.GetDirectoryName(currentFile) ?? throw new InvalidOperationException("Unable to determine source directory."); -} \ No newline at end of file +}