mirror of
https://github.com/microsoft/autogen.git
synced 2025-07-10 10:31:58 +00:00

Moves some shared code from samples into core. complete/cleanup the rename to Microsoft.AutoGen adds new projects in AutoGen.Extensions
20 lines
469 B
C#
20 lines
469 B
C#
using Microsoft.AutoGen.Agents.Worker.Client;
|
|
using DevTeam;
|
|
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(); |