Port Agent Runtime abstractions / inprocess runtime (#149)

This commit is contained in:
Stephen Toub
2025-07-09 09:08:45 -04:00
committed by GitHub
parent 31dfdcb3ce
commit 4a0f8dcbe0
97 changed files with 3801 additions and 156 deletions
@@ -18,7 +18,7 @@ public class AgentTests
private readonly Mock<Agent> _agentMock;
private readonly Mock<AgentThread> _agentThreadMock;
private readonly ChatResponse _invokeResponse = new();
private readonly List<ChatResponseUpdate> _invokeStreamingResponses = new();
private readonly List<ChatResponseUpdate> _invokeStreamingResponses = [];
/// <summary>
/// Initializes a new instance of the <see cref="AgentTests"/> class.
@@ -255,9 +255,7 @@ public class AgentTests
/// <summary>
/// Typed mock thread.
/// </summary>
public abstract class TestAgentThread : AgentThread
{
}
public abstract class TestAgentThread : AgentThread;
/// <summary>
/// Mock class to test the <see cref="Agent.ValidateOrCreateThreadType{TThreadType}"/> method.