Logo
Explore Help
Register Sign In
yujunjun/autogen
1
0
Fork 0
You've already forked autogen
mirror of https://github.com/microsoft/autogen.git synced 2025-07-04 07:26:28 +00:00
Code Issues Packages Projects Releases Wiki Activity
autogen/dotnet/samples/Hello/Hello.AppHost/Program.cs

8 lines
311 B
C#
Raw Normal View History

[.Net] Add a generic `IHandle` interface so AgentRuntime doesn't need to deal with typed handler (#3985) * add IHandle for object type * rename handle -> handleObject * remove duplicate file header setting * update * remove AgentId * fix format
2024-10-30 11:53:37 -07:00
// Copyright (c) Microsoft Corporation. All rights reserved.
// Program.cs
rysweet-adopt .NET Microsoft.Extensions.AI abstractions (#3790) 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
2024-10-23 14:23:36 -07:00
var builder = DistributedApplication.CreateBuilder(args);
var backend = builder.AddProject<Projects.Backend>("backend");
builder.AddProject<Projects.HelloAgent>("client").WithReference(backend).WaitFor(backend);
builder.Build().Run();
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 412ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API