mirror of
https://github.com/microsoft/autogen.git
synced 2025-10-18 19:39:58 +00:00

Moves some shared code from samples into core. complete/cleanup the rename to Microsoft.AutoGen adds new projects in AutoGen.Extensions
15 lines
266 B
C#
15 lines
266 B
C#
using Microsoft.AutoGen.Agents.Worker;
|
|
|
|
var builder = WebApplication.CreateBuilder(args);
|
|
|
|
builder.AddServiceDefaults();
|
|
builder.AddAgentService();
|
|
|
|
var app = builder.Build();
|
|
|
|
app.MapAgentService();
|
|
app.UseExceptionHandler();
|
|
app.MapDefaultEndpoints();
|
|
|
|
app.Run();
|