From 73da13f9a007ba37ae19dd8a8371acfd11cbfbd0 Mon Sep 17 00:00:00 2001 From: Ryan Sweet Date: Mon, 27 Jan 2025 04:07:35 -0800 Subject: [PATCH] test is green --- dotnet/src/Microsoft.AutoGen/Core/AgentRuntime.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dotnet/src/Microsoft.AutoGen/Core/AgentRuntime.cs b/dotnet/src/Microsoft.AutoGen/Core/AgentRuntime.cs index 95ea08b1168d..7da485fa874f 100644 --- a/dotnet/src/Microsoft.AutoGen/Core/AgentRuntime.cs +++ b/dotnet/src/Microsoft.AutoGen/Core/AgentRuntime.cs @@ -211,10 +211,9 @@ public async ValueTask InvokeRequestAsync(RpcRequest request, Cance // Proxy the request to the agent. var originalRequestId = request.RequestId; - var newRequestId = Guid.NewGuid().ToString(); var completion = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); _pendingRequests.TryAdd(request.RequestId, completion); - request.RequestId = newRequestId; + //request.RequestId = Guid.NewGuid().ToString(); agent.ReceiveMessage(new Message() { Request = request }); // Wait for the response and send it back to the caller. var response = await completion.Task.WaitAsync(s_agentResponseTimeout);