From ef0521f9b9637e75343ec038323d1ffe7ff65f8c Mon Sep 17 00:00:00 2001 From: Ryan Sweet Date: Fri, 15 Nov 2024 13:39:49 -0800 Subject: [PATCH] whoops --- .../src/Microsoft.AutoGen/Agents/Services/Grpc/GrpcGateway.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotnet/src/Microsoft.AutoGen/Agents/Services/Grpc/GrpcGateway.cs b/dotnet/src/Microsoft.AutoGen/Agents/Services/Grpc/GrpcGateway.cs index 0bd35b2b25cd..45477c8eb5a6 100644 --- a/dotnet/src/Microsoft.AutoGen/Agents/Services/Grpc/GrpcGateway.cs +++ b/dotnet/src/Microsoft.AutoGen/Agents/Services/Grpc/GrpcGateway.cs @@ -111,11 +111,11 @@ internal async Task OnReceivedMessageAsync(GrpcWorkerConnection connection, Mess break; default: // if it wasn't recognized return bad request - await RespondBadRequestAsync(connection, message.RequestId, $"Unknown message type for message '{message}'."); + await RespondBadRequestAsync(connection, $"Unknown message type for message '{message}'."); break; }; } - private async ValueTask RespondBadRequestAsync(GrpcWorkerConnection connection, string requestId, string error) + private async ValueTask RespondBadRequestAsync(GrpcWorkerConnection connection, string error) { throw new RpcException(new Status(StatusCode.InvalidArgument, error)); }