2024-10-02 11:42:27 -07:00
|
|
|
using DevTeam.Agents;
|
2024-09-24 09:26:30 -07:00
|
|
|
using Microsoft.AutoGen.Agents.Client;
|
2024-09-18 18:41:44 -07:00
|
|
|
using Microsoft.AutoGen.Agents.Extensions.SemanticKernel;
|
2024-09-17 09:01:49 -04:00
|
|
|
|
|
|
|
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();
|
|
|
|
|
2024-10-02 11:42:27 -07:00
|
|
|
app.Run();
|