mirror of
https://github.com/microsoft/autogen.git
synced 2025-12-05 03:18:57 +00:00
4153 try to decouple abstractions package from orleans (#4355)
* remove abstractions dep on orleans #4153 * fixing up defaults * fix some HelloAgent defaults --------- Co-authored-by: Xiaoyun Zhang <bigmiao.zhang@gmail.com>
This commit is contained in:
parent
7c1cabf07e
commit
a14f208588
@ -5,7 +5,11 @@
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="appsettings.json">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Extensions.Hosting" />
|
||||
</ItemGroup>
|
||||
|
||||
@ -18,8 +18,6 @@
|
||||
<PackageReference Include="Grpc.AspNetCore" />
|
||||
<PackageReference Include="Grpc.Net.ClientFactory" />
|
||||
<PackageReference Include="Grpc.Tools" PrivateAssets="All" />
|
||||
<PackageReference Include="Microsoft.Orleans.Core.Abstractions" />
|
||||
<PackageReference Include="Microsoft.Orleans.Sdk" />
|
||||
<PackageReference Include="Microsoft.SemanticKernel" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@ -29,7 +29,7 @@ public static class AgentWorkerHostingExtensions
|
||||
|
||||
public static IHostApplicationBuilder AddLocalAgentService(this IHostApplicationBuilder builder, bool useGrpc = true)
|
||||
{
|
||||
return builder.AddAgentService(local: false, useGrpc);
|
||||
return builder.AddAgentService(local: true, useGrpc);
|
||||
}
|
||||
|
||||
public static WebApplication MapAgentService(this WebApplication app, bool local = false, bool useGrpc = true)
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// IGateway.cs
|
||||
using Microsoft.AutoGen.Abstractions;
|
||||
|
||||
namespace Microsoft.AutoGen.Abstractions;
|
||||
namespace Microsoft.AutoGen.Agents;
|
||||
|
||||
public interface IGateway : IGrainObserver
|
||||
{
|
||||
Loading…
x
Reference in New Issue
Block a user