mirror of
https://github.com/microsoft/autogen.git
synced 2025-07-12 11:30:41 +00:00

closes #3809 - refactor .NET code foldersand namespaces for better clarity and maintainability
21 lines
492 B
C#
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();
|