mirror of
https://github.com/microsoft/autogen.git
synced 2025-07-04 15:41:15 +00:00

adopts the new Microsoft.Extensions.AI abstractions adds a base InferenceAgent fixes a lot of pain points in the runtime wrt startup/shutdown fixes some uncaught exceptions in the grpc stream reading adds an example for running the backend service in its own process adds an example of an agent that connects to OpenAI/Ollama adds an example of wrapping an agent app in .NET Aspire upgrades some dependencies and removes some others Known bugs: #3922
7 lines
285 B
C#
7 lines
285 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
var builder = DistributedApplication.CreateBuilder(args);
|
|
var backend = builder.AddProject<Projects.Backend>("backend");
|
|
builder.AddProject<Projects.HelloAgent>("client").WithReference(backend).WaitFor(backend);
|
|
builder.Build().Run();
|