You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Program.cs 512 B

1234567891011121314151617181920
  1. using Microsoft.AutoGen.Agents.Worker.Client;
  2. using Microsoft.AutoGen.Agents.Extensions.SemanticKernel;
  3. using DevTeam.Agents;
  4. var builder = WebApplication.CreateBuilder(args);
  5. builder.AddServiceDefaults();
  6. builder.ConfigureSemanticKernel();
  7. builder.AddAgentWorker(builder.Configuration["AGENT_HOST"]!)
  8. .AddAgent<Dev>(nameof(Dev))
  9. .AddAgent<ProductManager>(nameof(ProductManager))
  10. .AddAgent<DeveloperLead>(nameof(DeveloperLead));
  11. var app = builder.Build();
  12. app.MapDefaultEndpoints();
  13. app.Run();