From 5af3d470621c18a954513a6c6041e6fed037c7f7 Mon Sep 17 00:00:00 2001 From: alliscode Date: Wed, 15 Apr 2026 16:33:27 -0700 Subject: [PATCH] Fixing small issues. --- dotnet/nuget/nuget-package.props | 2 -- .../samples/04-hosting/FoundryResponsesRepl/Program.cs | 10 +++++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/dotnet/nuget/nuget-package.props b/dotnet/nuget/nuget-package.props index 10e75cf872..9d91eebf28 100644 --- a/dotnet/nuget/nuget-package.props +++ b/dotnet/nuget/nuget-package.props @@ -7,8 +7,6 @@ $(VersionPrefix)-$(VersionSuffix).260410.1 $(VersionPrefix)-preview.260410.1 $(VersionPrefix) - - 0.9.0-hosted.260413.1 1.1.0 Debug;Release;Publish diff --git a/dotnet/samples/04-hosting/FoundryResponsesRepl/Program.cs b/dotnet/samples/04-hosting/FoundryResponsesRepl/Program.cs index be0e6ccf7b..8b877dc519 100644 --- a/dotnet/samples/04-hosting/FoundryResponsesRepl/Program.cs +++ b/dotnet/samples/04-hosting/FoundryResponsesRepl/Program.cs @@ -1,3 +1,5 @@ +// Copyright (c) Microsoft. All rights reserved. + // Foundry Responses Client REPL // // Connects to a Foundry Responses agent running on a given endpoint @@ -66,10 +68,16 @@ while (true) Console.ResetColor(); string? input = Console.ReadLine(); - if (string.IsNullOrWhiteSpace(input)) continue; + if (string.IsNullOrWhiteSpace(input)) + { + continue; + } + if (input.Equals("quit", StringComparison.OrdinalIgnoreCase) || input.Equals("exit", StringComparison.OrdinalIgnoreCase)) + { break; + } try {