mirror of
https://github.com/microsoft/autogen.git
synced 2025-07-09 18:11:26 +00:00

rename the main classes and mixup folder structure move some tings from samples into core cleanup cross-deps cleanup grpc deps
20 lines
505 B
C#
20 lines
505 B
C#
using Microsoft.AutoGen.Agents.Client;
|
|
using Microsoft.AutoGen.Agents.Extensions.SemanticKernel;
|
|
using DevTeam.Agents;
|
|
|
|
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(); |