Ryan Sweet 460a6817ea
refactoring the dotnet folder and namespace structure for better long term maintenance and clarity #3809 (#3810)
closes #3809 - refactor .NET code foldersand namespaces for better clarity and maintainability
2024-10-16 20:09:39 -07:00

21 lines
492 B
C#

using DevTeam.Agents;
using Microsoft.AutoGen.Agents;
using Microsoft.AutoGen.Extensions.SemanticKernel;
var builder = WebApplication.CreateBuilder(args);
builder.AddServiceDefaults();
builder.ConfigureSemanticKernel();
builder.AddAgentWorker(builder.Configuration["AGENT_HOST"]!)
.AddAgent<Dev>(nameof(Dev))
.AddAgent<ProductManager>(nameof(ProductManager))
.AddAgent<DeveloperLead>(nameof(DeveloperLead));
var app = builder.Build();
app.MapDefaultEndpoints();
app.Run();