-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bring back grpc service #5377
bring back grpc service #5377
Conversation
* Define skeleton for GrpcAgentRuntime * Implement CloudEvent and RPC Payload serialization/marshaling
* Factor out AgentContainer for managing factory registration, instantiation, and subscription management
* Prefer AgentsAppBuilderExtensions as name, due to matching the incoming `this` type.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5377 +/- ##
==========================================
- Coverage 78.11% 76.17% -1.95%
==========================================
Files 158 196 +38
Lines 9590 10672 +1082
Branches 0 139 +139
==========================================
+ Hits 7491 8129 +638
- Misses 2099 2448 +349
- Partials 0 95 +95
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 55 out of 70 changed files in this pull request and generated no comments.
Files not reviewed (15)
- dotnet/AutoGen.sln: Language not supported
- dotnet/src/Microsoft.AutoGen/AgentHost/Microsoft.AutoGen.AgentHost.csproj: Language not supported
- dotnet/src/Microsoft.AutoGen/Agents/Microsoft.AutoGen.Agents.csproj: Language not supported
- dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Grpc/GrpcGatewayService.cs: Evaluated as low risk
- dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Abstractions/IAgentGrain.cs: Evaluated as low risk
- dotnet/src/Microsoft.AutoGen/AgentHost/Program.cs: Evaluated as low risk
- dotnet/src/Microsoft.AutoGen/Core/AgentRuntimeExtensions.cs: Evaluated as low risk
- dotnet/src/Microsoft.AutoGen/Core.Grpc/GrpcAgentRuntime.cs: Evaluated as low risk
- dotnet/src/Microsoft.AutoGen/AgentHost/Host.cs: Evaluated as low risk
- dotnet/src/Microsoft.AutoGen/Core/TypePrefixSubscriptionAttribute.cs: Evaluated as low risk
- dotnet/src/Microsoft.AutoGen/Agents/AIAgent/InferenceAgent.cs: Evaluated as low risk
- dotnet/src/Microsoft.AutoGen/Agents/protos/agent_events.proto: Evaluated as low risk
- dotnet/src/Microsoft.AutoGen/RuntimeGateway.Grpc/Abstractions/AgentsMetadata.cs: Evaluated as low risk
- dotnet/src/Microsoft.AutoGen/RuntimeGateway.Grpc/Abstractions/AgentsRegistryState.cs: Evaluated as low risk
- dotnet/src/Microsoft.AutoGen/Agents/IOAgent/ConsoleAgent/IHandleConsole.cs: Evaluated as low risk
Comments suppressed due to low confidence (3)
dotnet/src/Microsoft.AutoGen/Agents/IOAgent/FileAgent/IHandleFileIO.cs:23
- [nitpick] Defining constants inside an interface is not a common practice. Consider moving the Route constant to a class or as part of the implementation.
const string Route = "Microsoft.AutoGen.Agents.IHandleFileIO";
dotnet/src/Microsoft.AutoGen/Agents/IOAgent/IProcessIO.cs:16
- [nitpick] Static methods in interfaces are unusual and might not be intended. Consider removing the static modifier.
static Task ProcessOutputAsync(string message) { return Task.CompletedTask; }
dotnet/src/Microsoft.AutoGen/Agents/IOAgent/IProcessIO.cs:22
- [nitpick] Static methods in interfaces are unusual and might not be intended. Consider removing the static modifier.
static Task<string> ProcessInputAsync(string message) { return Task.FromResult(message); }
dotnet/src/Microsoft.AutoGen/RuntimeGateway.Grpc/Abstractions/IRegistry.cs
Outdated
Show resolved
Hide resolved
dotnet/src/Microsoft.AutoGen/RuntimeGateway.Grpc/Abstractions/IGateway.cs
Show resolved
Hide resolved
dotnet/src/Microsoft.AutoGen/RuntimeGateway.Grpc/Abstractions/AgentsMetadata.cs
Outdated
Show resolved
Hide resolved
dotnet/src/Microsoft.AutoGen/RuntimeGateway.Grpc/Abstractions/ReflectionHelper.cs
Outdated
Show resolved
Hide resolved
dotnet/src/Microsoft.AutoGen/RuntimeGateway.Grpc/Abstractions/IGateway.cs
Outdated
Show resolved
Hide resolved
dotnet/src/Microsoft.AutoGen/RuntimeGateway.Grpc/Abstractions/AgentTypes.cs
Outdated
Show resolved
Hide resolved
dotnet/src/Microsoft.AutoGen/RuntimeGateway.Grpc/Abstractions/AgentsRegistryState.cs
Outdated
Show resolved
Hide resolved
dotnet/src/Microsoft.AutoGen/RuntimeGateway.Grpc/Abstractions/AgentsRegistryState.cs
Outdated
Show resolved
Hide resolved
dotnet/src/Microsoft.AutoGen/RuntimeGateway.Grpc/Abstractions/IGateway.cs
Outdated
Show resolved
Hide resolved
dotnet/src/Microsoft.AutoGen/RuntimeGateway.Grpc/Abstractions/IRegistry.cs
Outdated
Show resolved
Hide resolved
dotnet/src/Microsoft.AutoGen/RuntimeGateway.Grpc/Abstractions/IRegistryStorage.cs
Outdated
Show resolved
Hide resolved
dotnet/src/Microsoft.AutoGen/RuntimeGateway.Grpc/Abstractions/TopicSubscriptionAttribute.cs
Outdated
Show resolved
Hide resolved
dotnet/src/Microsoft.AutoGen/RuntimeGateway.Grpc/Services/Grpc/GrpcGateway.cs
Outdated
Show resolved
Hide resolved
dotnet/src/Microsoft.AutoGen/RuntimeGateway.Grpc/Services/Grpc/GrpcGatewayService.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛳️(ship) it
Restoring the grpc + Orleans server into the project
Why are these changes needed?
This is the distributed agent runtime for .NET that can manage routing messages amongst a fleet of grpc agent runtimes.
Related issue number
Checks