mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
.NET: Fix some copilot issues (#2089)
* Fix some copilot issues * Fix some copilot issues
This commit is contained in:
committed by
GitHub
Unverified
parent
16d87c3614
commit
07f8bec326
@@ -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; }
|
||||
|
||||
+4
-4
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user