mirror of
https://github.com/microsoft/autogen.git
synced 2025-08-23 08:02:05 +00:00

rename the main classes and mixup folder structure move some tings from samples into core cleanup cross-deps cleanup grpc deps
18 lines
417 B
C#
18 lines
417 B
C#
using HelloAgents.Agents;
|
|
using Microsoft.AutoGen.Agents.Client;
|
|
using Microsoft.AutoGen.Agents.Extensions.SemanticKernel;
|
|
|
|
var builder = WebApplication.CreateBuilder(args);
|
|
|
|
builder.AddServiceDefaults();
|
|
|
|
builder.ConfigureSemanticKernel();
|
|
|
|
builder.AddAgentWorker(builder.Configuration["AGENT_HOST"]!)
|
|
.AddAgent<HelloAgent>(nameof(HelloAgent));
|
|
|
|
var app = builder.Build();
|
|
|
|
app.MapDefaultEndpoints();
|
|
|
|
app.Run(); |