mirror of
https://github.com/microsoft/autogen.git
synced 2025-07-10 02:21:01 +00:00

* interim stash * interim stash * interim checkpoint * broken stash * whoops * merge sln files * fix a bunch of refactoring errors * moving more to core vs samples * interim * fixup the devteam sample * fix ci * fixup soln file * trying to fix ci * trying to fix ci * adding back * still trying * recreate * next step * adding it back * trying to fix * Rename Autogen -> AutoGen (#567) * Add transparency faqs (#566) * remove Autogen * add AutoGen back --------- Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com> --------- Co-authored-by: Xiaoyun Zhang <xiaoyuz@microsoft.com> Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
20 lines
512 B
C#
20 lines
512 B
C#
using Microsoft.AutoGen.Agents.Worker.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(); |