A programming framework for agentic AI
remove unported things from the solution
Jack Gerritscaa33124bf44
diff --git a/dotnet/AutoGen.sln b/dotnet/AutoGen.slnindex 9496ca5d7..303f86b88 100644--- a/dotnet/AutoGen.sln+++ b/dotnet/AutoGen.sln@@ -98,48 +98,16 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AutoGen.SemanticKernel.SampEndProjectProject("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AutoGen.WebAPI.Sample", "samples\AutoGen.WebAPI.Sample\AutoGen.WebAPI.Sample.csproj", "{4385AFCF-AB4A-49B2-BEBA-D33C950E1EE6}"EndProject-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "DevTeam", "DevTeam", "{05B9C173-6441-4DCA-9AC4-E897EF75F331}"-EndProject-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevTeam.AppHost", "samples\dev-team\DevTeam.AppHost\DevTeam.AppHost.csproj", "{63280C12-3BE3-4C4E-805E-584CDC6BC1F5}"-EndProject-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevTeam.Backend", "samples\dev-team\DevTeam.Backend\DevTeam.Backend.csproj", "{EDA3EF83-FC7F-4BCF-945D-B893620EE4B1}"-EndProject-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Hello", "Hello", "{7EB336C2-7C0A-4BC8-80C6-A3173AB8DC45}"-EndProject-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Hello.AppHost", "samples\Hello\Hello.AppHost\Hello.AppHost.csproj", "{09A373A0-8169-409F-8C37-3FBC1654B122}"-EndProject-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HelloAIAgents", "samples\Hello\HelloAIAgents\HelloAIAgents.csproj", "{A20B9894-F352-4338-872A-F215A241D43D}"-EndProject-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HelloAgent", "samples\Hello\HelloAgent\HelloAgent.csproj", "{8F7560CF-EEBB-4333-A69F-838CA40FD85D}"-EndProjectProject("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AutoGen.Extensions.MEAI", "src\Microsoft.AutoGen\Extensions\MEAI\Microsoft.AutoGen.Extensions.MEAI.csproj", "{97550E87-48C6-4EBF-85E1-413ABAE9DBFD}"EndProjectProject("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sample", "sample", "{686480D7-8FEC-4ED3-9C5D-CEBE1057A7ED}"EndProject-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HelloAgentState", "samples\Hello\HelloAgentState\HelloAgentState.csproj", "{64EF61E7-00A6-4E5E-9808-62E10993A0E5}"-EndProjectProject("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AutoGen.Extensions.Aspire", "src\Microsoft.AutoGen\Extensions\Aspire\Microsoft.AutoGen.Extensions.Aspire.csproj", "{65059914-5527-4A00-9308-9FAF23D5E85A}"EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AutoGen.Integration.Tests", "test\Microsoft.AutoGen.Integration.Tests\Microsoft.AutoGen.Integration.Tests.csproj", "{D04C6153-8EAF-4E54-9852-52CEC1BE8D31}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HelloAgent.AppHost", "test\Microsoft.AutoGen.Integration.Tests.AppHosts\HelloAgent.AppHost\HelloAgent.AppHost.csproj", "{99D7766B-076F-4E6F-A8D2-3DF1DAFA2599}"-EndProjectProject("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AutoGen.Contracts", "src\Microsoft.AutoGen\Contracts\Microsoft.AutoGen.Contracts.csproj", "{7F60934B-3E59-48D0-B26D-04A39FEC13EF}"EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AutoGen.Core.Grpc", "src\Microsoft.AutoGen\Core.Grpc\Microsoft.AutoGen.Core.Grpc.csproj", "{9653676C-147D-4CBE-BB53-A30FD3634F4C}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AutoGen.Runtime.Grpc", "src\Microsoft.AutoGen\Runtime.Grpc\Microsoft.AutoGen.Runtime.Grpc.csproj", "{8457B68C-CC86-4A3F-8559-C1AE199EC366}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AutoGen.AgentHost", "src\Microsoft.AutoGen\AgentHost\Microsoft.AutoGen.AgentHost.csproj", "{4CB42139-DEE4-40B9-AA81-1E4CCAA2F338}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AutoGen.Runtime.Grpc.Tests", "test\Microsoft.AutoGen.Runtime.Grpc.Tests\Microsoft.AutoGen.Runtime.Grpc.Tests.csproj", "{0E7983BB-2602-421E-8B37-332E52870A10}"-EndProjectProject("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AutoGen.Core.Tests", "test\Microsoft.AutoGen.Core.Tests\Microsoft.AutoGen.Core.Tests.csproj", "{EAFFE339-26CB-4019-991D-BCCE8E7D33A1}"EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DevTeam.ServiceDefaults", "samples\dev-team\DevTeam.ServiceDefaults\DevTeam.ServiceDefaults.csproj", "{599E1971-1DA9-453F-A7A8-42510BBC95C2}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AutoGen.Core.Grpc.Tests", "test\Microsoft.AutoGen.Core.Grpc.Tests\Microsoft.AutoGen.Core.Grpc.Tests.csproj", "{33A28A4B-123B-4416-9631-0F759B8D6172}"-EndProjectProject("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AutoGen.Tests.Shared", "test\Microsoft.AutoGen.Tests.Shared\Microsoft.AutoGen.Tests.Shared.csproj", "{58AD8E1D-83BD-4950-A324-1A20677D78D9}"EndProjectProject("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{CE0AA8D5-12B8-4628-9589-DAD8CB0DDCF6}"@@ -339,98 +307,28 @@ Global{4385AFCF-AB4A-49B2-BEBA-D33C950E1EE6}.Debug|Any CPU.Build.0 = Debug|Any CPU{4385AFCF-AB4A-49B2-BEBA-D33C950E1EE6}.Release|Any CPU.ActiveCfg = Release|Any CPU{4385AFCF-AB4A-49B2-BEBA-D33C950E1EE6}.Release|Any CPU.Build.0 = Release|Any CPU- {63280C12-3BE3-4C4E-805E-584CDC6BC1F5}.CoreOnly|Any CPU.ActiveCfg = Debug|Any CPU- {63280C12-3BE3-4C4E-805E-584CDC6BC1F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {63280C12-3BE3-4C4E-805E-584CDC6BC1F5}.Debug|Any CPU.Build.0 = Debug|Any CPU- {63280C12-3BE3-4C4E-805E-584CDC6BC1F5}.Release|Any CPU.ActiveCfg = Release|Any CPU- {63280C12-3BE3-4C4E-805E-584CDC6BC1F5}.Release|Any CPU.Build.0 = Release|Any CPU- {EDA3EF83-FC7F-4BCF-945D-B893620EE4B1}.CoreOnly|Any CPU.ActiveCfg = Debug|Any CPU- {EDA3EF83-FC7F-4BCF-945D-B893620EE4B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {EDA3EF83-FC7F-4BCF-945D-B893620EE4B1}.Debug|Any CPU.Build.0 = Debug|Any CPU- {EDA3EF83-FC7F-4BCF-945D-B893620EE4B1}.Release|Any CPU.ActiveCfg = Release|Any CPU- {EDA3EF83-FC7F-4BCF-945D-B893620EE4B1}.Release|Any CPU.Build.0 = Release|Any CPU- {09A373A0-8169-409F-8C37-3FBC1654B122}.CoreOnly|Any CPU.ActiveCfg = Debug|Any CPU- {09A373A0-8169-409F-8C37-3FBC1654B122}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {09A373A0-8169-409F-8C37-3FBC1654B122}.Debug|Any CPU.Build.0 = Debug|Any CPU- {09A373A0-8169-409F-8C37-3FBC1654B122}.Release|Any CPU.ActiveCfg = Release|Any CPU- {09A373A0-8169-409F-8C37-3FBC1654B122}.Release|Any CPU.Build.0 = Release|Any CPU- {A20B9894-F352-4338-872A-F215A241D43D}.CoreOnly|Any CPU.ActiveCfg = Debug|Any CPU- {A20B9894-F352-4338-872A-F215A241D43D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {A20B9894-F352-4338-872A-F215A241D43D}.Debug|Any CPU.Build.0 = Debug|Any CPU- {A20B9894-F352-4338-872A-F215A241D43D}.Release|Any CPU.ActiveCfg = Release|Any CPU- {A20B9894-F352-4338-872A-F215A241D43D}.Release|Any CPU.Build.0 = Release|Any CPU- {8F7560CF-EEBB-4333-A69F-838CA40FD85D}.CoreOnly|Any CPU.ActiveCfg = Debug|Any CPU- {8F7560CF-EEBB-4333-A69F-838CA40FD85D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {8F7560CF-EEBB-4333-A69F-838CA40FD85D}.Debug|Any CPU.Build.0 = Debug|Any CPU- {8F7560CF-EEBB-4333-A69F-838CA40FD85D}.Release|Any CPU.ActiveCfg = Release|Any CPU- {8F7560CF-EEBB-4333-A69F-838CA40FD85D}.Release|Any CPU.Build.0 = Release|Any CPU{97550E87-48C6-4EBF-85E1-413ABAE9DBFD}.CoreOnly|Any CPU.ActiveCfg = Debug|Any CPU{97550E87-48C6-4EBF-85E1-413ABAE9DBFD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU{97550E87-48C6-4EBF-85E1-413ABAE9DBFD}.Debug|Any CPU.Build.0 = Debug|Any CPU{97550E87-48C6-4EBF-85E1-413ABAE9DBFD}.Release|Any CPU.ActiveCfg = Release|Any CPU{97550E87-48C6-4EBF-85E1-413ABAE9DBFD}.Release|Any CPU.Build.0 = Release|Any CPU- {64EF61E7-00A6-4E5E-9808-62E10993A0E5}.CoreOnly|Any CPU.ActiveCfg = Debug|Any CPU- {64EF61E7-00A6-4E5E-9808-62E10993A0E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {64EF61E7-00A6-4E5E-9808-62E10993A0E5}.Debug|Any CPU.Build.0 = Debug|Any CPU- {64EF61E7-00A6-4E5E-9808-62E10993A0E5}.Release|Any CPU.ActiveCfg = Release|Any CPU- {64EF61E7-00A6-4E5E-9808-62E10993A0E5}.Release|Any CPU.Build.0 = Release|Any CPU{65059914-5527-4A00-9308-9FAF23D5E85A}.CoreOnly|Any CPU.ActiveCfg = Debug|Any CPU{65059914-5527-4A00-9308-9FAF23D5E85A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU{65059914-5527-4A00-9308-9FAF23D5E85A}.Debug|Any CPU.Build.0 = Debug|Any CPU{65059914-5527-4A00-9308-9FAF23D5E85A}.Release|Any CPU.ActiveCfg = Release|Any CPU{65059914-5527-4A00-9308-9FAF23D5E85A}.Release|Any CPU.Build.0 = Release|Any CPU- {D04C6153-8EAF-4E54-9852-52CEC1BE8D31}.CoreOnly|Any CPU.ActiveCfg = Debug|Any CPU- {D04C6153-8EAF-4E54-9852-52CEC1BE8D31}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {D04C6153-8EAF-4E54-9852-52CEC1BE8D31}.Debug|Any CPU.Build.0 = Debug|Any CPU- {D04C6153-8EAF-4E54-9852-52CEC1BE8D31}.Release|Any CPU.ActiveCfg = Release|Any CPU- {D04C6153-8EAF-4E54-9852-52CEC1BE8D31}.Release|Any CPU.Build.0 = Release|Any CPU- {99D7766B-076F-4E6F-A8D2-3DF1DAFA2599}.CoreOnly|Any CPU.ActiveCfg = Debug|Any CPU- {99D7766B-076F-4E6F-A8D2-3DF1DAFA2599}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {99D7766B-076F-4E6F-A8D2-3DF1DAFA2599}.Debug|Any CPU.Build.0 = Debug|Any CPU- {99D7766B-076F-4E6F-A8D2-3DF1DAFA2599}.Release|Any CPU.ActiveCfg = Release|Any CPU- {99D7766B-076F-4E6F-A8D2-3DF1DAFA2599}.Release|Any CPU.Build.0 = Release|Any CPU{7F60934B-3E59-48D0-B26D-04A39FEC13EF}.CoreOnly|Any CPU.ActiveCfg = Debug|Any CPU{7F60934B-3E59-48D0-B26D-04A39FEC13EF}.CoreOnly|Any CPU.Build.0 = Debug|Any CPU{7F60934B-3E59-48D0-B26D-04A39FEC13EF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU{7F60934B-3E59-48D0-B26D-04A39FEC13EF}.Debug|Any CPU.Build.0 = Debug|Any CPU{7F60934B-3E59-48D0-B26D-04A39FEC13EF}.Release|Any CPU.ActiveCfg = Release|Any CPU{7F60934B-3E59-48D0-B26D-04A39FEC13EF}.Release|Any CPU.Build.0 = Release|Any CPU- {9653676C-147D-4CBE-BB53-A30FD3634F4C}.CoreOnly|Any CPU.ActiveCfg = Debug|Any CPU- {9653676C-147D-4CBE-BB53-A30FD3634F4C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {9653676C-147D-4CBE-BB53-A30FD3634F4C}.Debug|Any CPU.Build.0 = Debug|Any CPU- {9653676C-147D-4CBE-BB53-A30FD3634F4C}.Release|Any CPU.ActiveCfg = Release|Any CPU- {9653676C-147D-4CBE-BB53-A30FD3634F4C}.Release|Any CPU.Build.0 = Release|Any CPU- {8457B68C-CC86-4A3F-8559-C1AE199EC366}.CoreOnly|Any CPU.ActiveCfg = Debug|Any CPU- {8457B68C-CC86-4A3F-8559-C1AE199EC366}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {8457B68C-CC86-4A3F-8559-C1AE199EC366}.Debug|Any CPU.Build.0 = Debug|Any CPU- {8457B68C-CC86-4A3F-8559-C1AE199EC366}.Release|Any CPU.ActiveCfg = Release|Any CPU- {8457B68C-CC86-4A3F-8559-C1AE199EC366}.Release|Any CPU.Build.0 = Release|Any CPU- {4CB42139-DEE4-40B9-AA81-1E4CCAA2F338}.CoreOnly|Any CPU.ActiveCfg = Debug|Any CPU- {4CB42139-DEE4-40B9-AA81-1E4CCAA2F338}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {4CB42139-DEE4-40B9-AA81-1E4CCAA2F338}.Debug|Any CPU.Build.0 = Debug|Any CPU- {4CB42139-DEE4-40B9-AA81-1E4CCAA2F338}.Release|Any CPU.ActiveCfg = Release|Any CPU- {4CB42139-DEE4-40B9-AA81-1E4CCAA2F338}.Release|Any CPU.Build.0 = Release|Any CPU- {0E7983BB-2602-421E-8B37-332E52870A10}.CoreOnly|Any CPU.ActiveCfg = Debug|Any CPU- {0E7983BB-2602-421E-8B37-332E52870A10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {0E7983BB-2602-421E-8B37-332E52870A10}.Debug|Any CPU.Build.0 = Debug|Any CPU- {0E7983BB-2602-421E-8B37-332E52870A10}.Release|Any CPU.ActiveCfg = Release|Any CPU- {0E7983BB-2602-421E-8B37-332E52870A10}.Release|Any CPU.Build.0 = Release|Any CPU{EAFFE339-26CB-4019-991D-BCCE8E7D33A1}.CoreOnly|Any CPU.ActiveCfg = Debug|Any CPU{EAFFE339-26CB-4019-991D-BCCE8E7D33A1}.CoreOnly|Any CPU.Build.0 = Debug|Any CPU{EAFFE339-26CB-4019-991D-BCCE8E7D33A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU{EAFFE339-26CB-4019-991D-BCCE8E7D33A1}.Debug|Any CPU.Build.0 = Debug|Any CPU{EAFFE339-26CB-4019-991D-BCCE8E7D33A1}.Release|Any CPU.ActiveCfg = Release|Any CPU{EAFFE339-26CB-4019-991D-BCCE8E7D33A1}.Release|Any CPU.Build.0 = Release|Any CPU- {599E1971-1DA9-453F-A7A8-42510BBC95C2}.CoreOnly|Any CPU.ActiveCfg = Debug|Any CPU- {599E1971-1DA9-453F-A7A8-42510BBC95C2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {599E1971-1DA9-453F-A7A8-42510BBC95C2}.Debug|Any CPU.Build.0 = Debug|Any CPU- {599E1971-1DA9-453F-A7A8-42510BBC95C2}.Release|Any CPU.ActiveCfg = Release|Any CPU- {599E1971-1DA9-453F-A7A8-42510BBC95C2}.Release|Any CPU.Build.0 = Release|Any CPU- {33A28A4B-123B-4416-9631-0F759B8D6172}.CoreOnly|Any CPU.ActiveCfg = Debug|Any CPU- {33A28A4B-123B-4416-9631-0F759B8D6172}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {33A28A4B-123B-4416-9631-0F759B8D6172}.Debug|Any CPU.Build.0 = Debug|Any CPU- {33A28A4B-123B-4416-9631-0F759B8D6172}.Release|Any CPU.ActiveCfg = Release|Any CPU- {33A28A4B-123B-4416-9631-0F759B8D6172}.Release|Any CPU.Build.0 = Release|Any CPU{58AD8E1D-83BD-4950-A324-1A20677D78D9}.CoreOnly|Any CPU.ActiveCfg = Debug|Any CPU{58AD8E1D-83BD-4950-A324-1A20677D78D9}.CoreOnly|Any CPU.Build.0 = Debug|Any CPU{58AD8E1D-83BD-4950-A324-1A20677D78D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU@@ -487,26 +385,10 @@ Global{1F86E48B-8674-4C20-A3BE-9431049A5BEC} = {668726B9-77BC-45CF-B576-0F0773BF1615}{CB8824F5-9475-451F-87E8-F2AEF2490A12} = {668726B9-77BC-45CF-B576-0F0773BF1615}{4385AFCF-AB4A-49B2-BEBA-D33C950E1EE6} = {668726B9-77BC-45CF-B576-0F0773BF1615}- {05B9C173-6441-4DCA-9AC4-E897EF75F331} = {686480D7-8FEC-4ED3-9C5D-CEBE1057A7ED}- {63280C12-3BE3-4C4E-805E-584CDC6BC1F5} = {05B9C173-6441-4DCA-9AC4-E897EF75F331}- {EDA3EF83-FC7F-4BCF-945D-B893620EE4B1} = {05B9C173-6441-4DCA-9AC4-E897EF75F331}- {7EB336C2-7C0A-4BC8-80C6-A3173AB8DC45} = {686480D7-8FEC-4ED3-9C5D-CEBE1057A7ED}- {09A373A0-8169-409F-8C37-3FBC1654B122} = {7EB336C2-7C0A-4BC8-80C6-A3173AB8DC45}- {A20B9894-F352-4338-872A-F215A241D43D} = {7EB336C2-7C0A-4BC8-80C6-A3173AB8DC45}- {8F7560CF-EEBB-4333-A69F-838CA40FD85D} = {7EB336C2-7C0A-4BC8-80C6-A3173AB8DC45}{97550E87-48C6-4EBF-85E1-413ABAE9DBFD} = {18BF8DD7-0585-48BF-8F97-AD333080CE06}- {64EF61E7-00A6-4E5E-9808-62E10993A0E5} = {7EB336C2-7C0A-4BC8-80C6-A3173AB8DC45}{65059914-5527-4A00-9308-9FAF23D5E85A} = {18BF8DD7-0585-48BF-8F97-AD333080CE06}- {D04C6153-8EAF-4E54-9852-52CEC1BE8D31} = {F823671B-3ECA-4AE6-86DA-25E920D3FE64}- {99D7766B-076F-4E6F-A8D2-3DF1DAFA2599} = {F823671B-3ECA-4AE6-86DA-25E920D3FE64}{7F60934B-3E59-48D0-B26D-04A39FEC13EF} = {18BF8DD7-0585-48BF-8F97-AD333080CE06}- {9653676C-147D-4CBE-BB53-A30FD3634F4C} = {18BF8DD7-0585-48BF-8F97-AD333080CE06}- {8457B68C-CC86-4A3F-8559-C1AE199EC366} = {18BF8DD7-0585-48BF-8F97-AD333080CE06}- {4CB42139-DEE4-40B9-AA81-1E4CCAA2F338} = {18BF8DD7-0585-48BF-8F97-AD333080CE06}- {0E7983BB-2602-421E-8B37-332E52870A10} = {F823671B-3ECA-4AE6-86DA-25E920D3FE64}{EAFFE339-26CB-4019-991D-BCCE8E7D33A1} = {F823671B-3ECA-4AE6-86DA-25E920D3FE64}- {599E1971-1DA9-453F-A7A8-42510BBC95C2} = {05B9C173-6441-4DCA-9AC4-E897EF75F331}- {33A28A4B-123B-4416-9631-0F759B8D6172} = {F823671B-3ECA-4AE6-86DA-25E920D3FE64}{58AD8E1D-83BD-4950-A324-1A20677D78D9} = {F823671B-3ECA-4AE6-86DA-25E920D3FE64}{70A8D4B5-D0A6-4098-A6F3-6ED274B65E7D} = {CE0AA8D5-12B8-4628-9589-DAD8CB0DDCF6}EndGlobalSectiondiff --git a/dotnet/samples/getting-started/Checker.cs b/dotnet/samples/getting-started/Checker.csindex f79af5f80..1c6f82299 100644--- a/dotnet/samples/getting-started/Checker.cs+++ b/dotnet/samples/getting-started/Checker.cs@@ -31,4 +31,4 @@ public class Checker(hostApplicationLifetime.StopApplication();}}-}\ No newline at end of file+}diff --git a/dotnet/samples/getting-started/Modifier.cs b/dotnet/samples/getting-started/Modifier.csindex 777d1fcf6..d7e622795 100644--- a/dotnet/samples/getting-started/Modifier.cs+++ b/dotnet/samples/getting-started/Modifier.cs@@ -26,4 +26,4 @@ public class Modifier(CountUpdate updateMessage = new CountUpdate { NewCount = newValue };await this.PublishMessageAsync(updateMessage, topic: new TopicId("default"));}-}\ No newline at end of file+}diff --git a/dotnet/samples/getting-started/Program.cs b/dotnet/samples/getting-started/Program.csindex 8ad2a24fb..1cff3c1ca 100644--- a/dotnet/samples/getting-started/Program.cs+++ b/dotnet/samples/getting-started/Program.cs@@ -1,14 +1,12 @@// Copyright (c) Microsoft Corporation. All rights reserved.// Program.cs-using Microsoft.AutoGen.Core;using Microsoft.AutoGen.Contracts;+using Microsoft.AutoGen.Core;using Microsoft.Extensions.DependencyInjection.Extensions;-using Samples;--using TerminationF = System.Func<int, bool>;using ModifyF = System.Func<int, int>;+using TerminationF = System.Func<int, bool>;ModifyF modifyFunc = (int x) => x - 1;TerminationF runUntilFunc = (int x) =>diff --git a/dotnet/src/Microsoft.AutoGen/Contracts/AgentMetadata.cs b/dotnet/src/Microsoft.AutoGen/Contracts/AgentMetadata.csindex 961ba3094..9ec744cce 100644--- a/dotnet/src/Microsoft.AutoGen/Contracts/AgentMetadata.cs+++ b/dotnet/src/Microsoft.AutoGen/Contracts/AgentMetadata.cs@@ -1,4 +1,4 @@-// Copyright (c) Microsoft Corporation. All rights reserved.+// Copyright (c) Microsoft Corporation. All rights reserved.// AgentMetadata.csnamespace Microsoft.AutoGen.Contracts;diff --git a/dotnet/src/Microsoft.AutoGen/Contracts/AgentType.cs b/dotnet/src/Microsoft.AutoGen/Contracts/AgentType.csindex e05d4735a..4857b46b7 100644--- a/dotnet/src/Microsoft.AutoGen/Contracts/AgentType.cs+++ b/dotnet/src/Microsoft.AutoGen/Contracts/AgentType.cs@@ -1,4 +1,4 @@-// Copyright (c) Microsoft Corporation. All rights reserved.+// Copyright (c) Microsoft Corporation. All rights reserved.// AgentType.csnamespace Microsoft.AutoGen.Contracts;diff --git a/dotnet/src/Microsoft.AutoGen/Contracts/ISaveState.cs b/dotnet/src/Microsoft.AutoGen/Contracts/ISaveState.csindex 4d8a8ac11..ed6d15d1d 100644--- a/dotnet/src/Microsoft.AutoGen/Contracts/ISaveState.cs+++ b/dotnet/src/Microsoft.AutoGen/Contracts/ISaveState.cs@@ -1,4 +1,4 @@-// Copyright (c) Microsoft Corporation. All rights reserved.+// Copyright (c) Microsoft Corporation. All rights reserved.// ISaveState.csusing StateDict = System.Collections.Generic.IDictionary<string, object>;diff --git a/dotnet/src/Microsoft.AutoGen/Contracts/ISubscriptionDefinition.cs b/dotnet/src/Microsoft.AutoGen/Contracts/ISubscriptionDefinition.csindex 1c23c7e77..33aa50a8f 100644--- a/dotnet/src/Microsoft.AutoGen/Contracts/ISubscriptionDefinition.cs+++ b/dotnet/src/Microsoft.AutoGen/Contracts/ISubscriptionDefinition.cs@@ -1,4 +1,4 @@-// Copyright (c) Microsoft Corporation. All rights reserved.+// Copyright (c) Microsoft Corporation. All rights reserved.// ISubscriptionDefinition.csusing System.Diagnostics.CodeAnalysis;diff --git a/dotnet/src/Microsoft.AutoGen/Contracts/MessageContext.cs b/dotnet/src/Microsoft.AutoGen/Contracts/MessageContext.csindex 367beff58..e99f0c42d 100644--- a/dotnet/src/Microsoft.AutoGen/Contracts/MessageContext.cs+++ b/dotnet/src/Microsoft.AutoGen/Contracts/MessageContext.cs@@ -1,4 +1,4 @@-// Copyright (c) Microsoft Corporation. All rights reserved.+// Copyright (c) Microsoft Corporation. All rights reserved.// MessageContext.csnamespace Microsoft.AutoGen.Contracts;diff --git a/dotnet/src/Microsoft.AutoGen/Core/AgentRuntimeExtensions.cs b/dotnet/src/Microsoft.AutoGen/Core/AgentRuntimeExtensions.csindex 5a79264c3..fd7a479ad 100644--- a/dotnet/src/Microsoft.AutoGen/Core/AgentRuntimeExtensions.cs+++ b/dotnet/src/Microsoft.AutoGen/Core/AgentRuntimeExtensions.cs@@ -1,9 +1,9 @@// Copyright (c) Microsoft Corporation. All rights reserved.// AgentRuntimeExtensions.cs+using System.Reflection;using Microsoft.AutoGen.Core;using Microsoft.Extensions.DependencyInjection;-using System.Reflection;namespace Microsoft.AutoGen.Contracts;diff --git a/dotnet/src/Microsoft.AutoGen/Core/AgentsApp.cs b/dotnet/src/Microsoft.AutoGen/Core/AgentsApp.csindex e30b5e2ef..536cfeaaa 100644--- a/dotnet/src/Microsoft.AutoGen/Core/AgentsApp.cs+++ b/dotnet/src/Microsoft.AutoGen/Core/AgentsApp.cs@@ -1,10 +1,10 @@// Copyright (c) Microsoft Corporation. All rights reserved.// AgentsApp.cs+using System.Reflection;using Microsoft.AutoGen.Contracts;using Microsoft.Extensions.DependencyInjection;using Microsoft.Extensions.Hosting;-using System.Reflection;namespace Microsoft.AutoGen.Core;diff --git a/dotnet/src/Microsoft.AutoGen/Core/InProcessRuntime.cs b/dotnet/src/Microsoft.AutoGen/Core/InProcessRuntime.csindex 8e93a0740..4cce4d47f 100644--- a/dotnet/src/Microsoft.AutoGen/Core/InProcessRuntime.cs+++ b/dotnet/src/Microsoft.AutoGen/Core/InProcessRuntime.cs@@ -42,7 +42,7 @@ public sealed class InProcessRuntime : IAgentRuntimecontinue;}- MessageContext messageContext = new (messageId ?? Guid.NewGuid().ToString(), cancellationToken ?? CancellationToken.None)+ MessageContext messageContext = new(messageId ?? Guid.NewGuid().ToString(), cancellationToken ?? CancellationToken.None){Sender = sender,Topic = topic,diff --git a/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Grpc/GrpcWorkerConnection.cs b/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Grpc/GrpcWorkerConnection.csindex 65046642e..cba0f8c47 100644--- a/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Grpc/GrpcWorkerConnection.cs+++ b/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Grpc/GrpcWorkerConnection.cs@@ -3,7 +3,6 @@using System.Threading.Channels;using Grpc.Core;-using Microsoft.AutoGen.Contracts;namespace Microsoft.AutoGen.Runtime.Grpc;diff --git a/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/AgentStateGrain.cs b/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/AgentStateGrain.csindex e926f374a..97869cd91 100644--- a/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/AgentStateGrain.cs+++ b/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/AgentStateGrain.cs@@ -1,7 +1,6 @@// Copyright (c) Microsoft Corporation. All rights reserved.// AgentStateGrain.cs-using Microsoft.AutoGen.Contracts;using Microsoft.AutoGen.Runtime.Grpc.Abstractions;namespace Microsoft.AutoGen.Runtime.Grpc;diff --git a/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/AddSubscriptionRequestSurrogate.cs b/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/AddSubscriptionRequestSurrogate.csindex e732c3ffc..37e3af1b9 100644--- a/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/AddSubscriptionRequestSurrogate.cs+++ b/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/AddSubscriptionRequestSurrogate.cs@@ -1,8 +1,6 @@// Copyright (c) Microsoft Corporation. All rights reserved.// AddSubscriptionRequestSurrogate.cs-using Microsoft.AutoGen.Contracts;-namespace Microsoft.AutoGen.Runtime.Grpc.Orleans.Surrogates;[GenerateSerializer]diff --git a/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/AddSubscriptionResponseSurrogate.cs b/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/AddSubscriptionResponseSurrogate.csindex d35a3c5f6..4c15784e0 100644--- a/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/AddSubscriptionResponseSurrogate.cs+++ b/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/AddSubscriptionResponseSurrogate.cs@@ -1,8 +1,6 @@// Copyright (c) Microsoft Corporation. All rights reserved.// AddSubscriptionResponseSurrogate.cs-using Microsoft.AutoGen.Contracts;-namespace Microsoft.AutoGen.Runtime.Grpc.Orleans.Surrogates;[GenerateSerializer]diff --git a/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/CloudEventSurrogate.cs b/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/CloudEventSurrogate.csindex 7572ec3c3..22359a089 100644--- a/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/CloudEventSurrogate.cs+++ b/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/CloudEventSurrogate.cs@@ -3,7 +3,6 @@using Google.Protobuf;using Google.Protobuf.WellKnownTypes;-using Microsoft.AutoGen.Contracts;namespace Microsoft.AutoGen.Runtime.Grpc.Orleans.Surrogates;diff --git a/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/GetSubscriptionsRequest.cs b/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/GetSubscriptionsRequest.csindex ef06ef226..ab4722ff8 100644--- a/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/GetSubscriptionsRequest.cs+++ b/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/GetSubscriptionsRequest.cs@@ -1,8 +1,6 @@// Copyright (c) Microsoft Corporation. All rights reserved.// GetSubscriptionsRequest.cs-using Microsoft.AutoGen.Contracts;-namespace Microsoft.AutoGen.Runtime.Grpc.Orleans.Surrogates;[GenerateSerializer]diff --git a/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/RegisterAgentTypeRequestSurrogate.cs b/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/RegisterAgentTypeRequestSurrogate.csindex a4bc2347b..fa50e597f 100644--- a/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/RegisterAgentTypeRequestSurrogate.cs+++ b/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/RegisterAgentTypeRequestSurrogate.cs@@ -2,7 +2,6 @@// RegisterAgentTypeRequestSurrogate.csusing Google.Protobuf.Collections;-using Microsoft.AutoGen.Contracts;namespace Microsoft.AutoGen.Runtime.Grpc.Orleans.Surrogates;diff --git a/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/RegisterAgentTypeResponseSurrogate.cs b/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/RegisterAgentTypeResponseSurrogate.csindex 6fa73e5e8..2c7d6788a 100644--- a/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/RegisterAgentTypeResponseSurrogate.cs+++ b/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/RegisterAgentTypeResponseSurrogate.cs@@ -1,8 +1,6 @@// Copyright (c) Microsoft Corporation. All rights reserved.// RegisterAgentTypeResponseSurrogate.cs-using Microsoft.AutoGen.Contracts;-namespace Microsoft.AutoGen.Runtime.Grpc.Orleans.Surrogates;[GenerateSerializer]diff --git a/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/RemoveSubscriptionRequest.cs b/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/RemoveSubscriptionRequest.csindex 73c0844d5..27299728b 100644--- a/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/RemoveSubscriptionRequest.cs+++ b/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/RemoveSubscriptionRequest.cs@@ -1,8 +1,6 @@// Copyright (c) Microsoft Corporation. All rights reserved.// RemoveSubscriptionRequest.cs-using Microsoft.AutoGen.Contracts;-namespace Microsoft.AutoGen.Runtime.Grpc.Orleans.Surrogates;[GenerateSerializer]diff --git a/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/RemoveSubscriptionResponse.cs b/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/RemoveSubscriptionResponse.csindex da006b8f5..88253c99b 100644--- a/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/RemoveSubscriptionResponse.cs+++ b/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/RemoveSubscriptionResponse.cs@@ -1,8 +1,6 @@// Copyright (c) Microsoft Corporation. All rights reserved.// RemoveSubscriptionResponse.cs-using Microsoft.AutoGen.Contracts;-namespace Microsoft.AutoGen.Runtime.Grpc.Orleans.Surrogates;[GenerateSerializer]diff --git a/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/RpcResponseSurrogate.cs b/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/RpcResponseSurrogate.csindex e5f9fff66..5c9fac246 100644--- a/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/RpcResponseSurrogate.cs+++ b/dotnet/src/Microsoft.AutoGen/Runtime.Grpc/Services/Orleans/Surrogates/RpcResponseSurrogate.cs@@ -2,7 +2,6 @@// RpcResponseSurrogate.csusing Google.Protobuf.Collections;-using Microsoft.AutoGen.Contracts;namespace Microsoft.AutoGen.Runtime.Grpc.Orleans.Surrogates;diff --git a/dotnet/test/Microsoft.AutoGen.Core.Tests/AgentTests.cs b/dotnet/test/Microsoft.AutoGen.Core.Tests/AgentTests.csindex 3e367a37d..110fe4c84 100644--- a/dotnet/test/Microsoft.AutoGen.Core.Tests/AgentTests.cs+++ b/dotnet/test/Microsoft.AutoGen.Core.Tests/AgentTests.cs@@ -124,7 +124,8 @@ public class AgentTests(){var runtime = new InProcessRuntime();ReceiverAgent? agent = null;- await runtime.RegisterAgentFactoryAsync("MyAgent", (id, runtime) => {+ await runtime.RegisterAgentFactoryAsync("MyAgent", (id, runtime) =>+ {agent = new ReceiverAgent(id, runtime);return ValueTask.FromResult(agent);});