2024-10-30 11:53:37 -07:00
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
// Program.cs
|
|
|
|
|
2024-10-02 11:42:27 -07:00
|
|
|
using DevTeam.Agents;
|
2024-12-13 11:55:43 -08:00
|
|
|
using Microsoft.AutoGen.Core;
|
2024-10-16 20:09:39 -07:00
|
|
|
using Microsoft.AutoGen.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();
|