.NET: Fix some copilot issues (#2089)

* Fix some copilot issues

* Fix some copilot issues
This commit is contained in:
Mark Wallace
2025-11-11 12:44:25 +00:00
committed by GitHub
Unverified
parent 16d87c3614
commit 07f8bec326
2 changed files with 5 additions and 5 deletions
@@ -242,7 +242,7 @@ public sealed class AgentBotElementYamlTests
/// Represents information about a person, including their name, age, and occupation, matched to the JSON schema used in the agent.
/// </summary>
[Description("Information about a person including their name, age, and occupation")]
public class PersonInfo
public sealed class PersonInfo
{
[JsonPropertyName("name")]
public string? Name { get; set; }
@@ -19,7 +19,7 @@ public sealed class ChatClientAgentFactoryTests
}
[Fact]
public async Task TryCreateAsync_WithChatClientInConstructor_CreatesAgentAsync()
public async Task TryCreateAsync_WithChatClientInConstructor_CreatesAgent()
{
// Arrange
var promptAgent = PromptAgents.CreateTestPromptAgent();
@@ -36,7 +36,7 @@ public sealed class ChatClientAgentFactoryTests
}
[Fact]
public async Task TryCreateAsync_Creates_ChatClientAgentAsync()
public async Task TryCreateAsync_Creates_ChatClientAgent()
{
// Arrange
var promptAgent = PromptAgents.CreateTestPromptAgent();
@@ -56,7 +56,7 @@ public sealed class ChatClientAgentFactoryTests
}
[Fact]
public async Task TryCreateAsync_Creates_ChatOptionsAsync()
public async Task TryCreateAsync_Creates_ChatOptions()
{
// Arrange
var promptAgent = PromptAgents.CreateTestPromptAgent();
@@ -87,7 +87,7 @@ public sealed class ChatClientAgentFactoryTests
}
[Fact]
public async Task TryCreateAsync_Creates_ToolsAsync()
public async Task TryCreateAsync_Creates_Tools()
{
// Arrange
var promptAgent = PromptAgents.CreateTestPromptAgent();