mirror of
https://github.com/microsoft/autogen.git
synced 2025-12-06 03:47:55 +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>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Update="appsettings.json">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.Extensions.Hosting" />
|
<PackageReference Include="Microsoft.Extensions.Hosting" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|||||||
@ -18,8 +18,6 @@
|
|||||||
<PackageReference Include="Grpc.AspNetCore" />
|
<PackageReference Include="Grpc.AspNetCore" />
|
||||||
<PackageReference Include="Grpc.Net.ClientFactory" />
|
<PackageReference Include="Grpc.Net.ClientFactory" />
|
||||||
<PackageReference Include="Grpc.Tools" PrivateAssets="All" />
|
<PackageReference Include="Grpc.Tools" PrivateAssets="All" />
|
||||||
<PackageReference Include="Microsoft.Orleans.Core.Abstractions" />
|
|
||||||
<PackageReference Include="Microsoft.Orleans.Sdk" />
|
|
||||||
<PackageReference Include="Microsoft.SemanticKernel" />
|
<PackageReference Include="Microsoft.SemanticKernel" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@ -29,7 +29,7 @@ public static class AgentWorkerHostingExtensions
|
|||||||
|
|
||||||
public static IHostApplicationBuilder AddLocalAgentService(this IHostApplicationBuilder builder, bool useGrpc = true)
|
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)
|
public static WebApplication MapAgentService(this WebApplication app, bool local = false, bool useGrpc = true)
|
||||||
|
|||||||
@ -1,7 +1,8 @@
|
|||||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||||
// IGateway.cs
|
// IGateway.cs
|
||||||
|
using Microsoft.AutoGen.Abstractions;
|
||||||
|
|
||||||
namespace Microsoft.AutoGen.Abstractions;
|
namespace Microsoft.AutoGen.Agents;
|
||||||
|
|
||||||
public interface IGateway : IGrainObserver
|
public interface IGateway : IGrainObserver
|
||||||
{
|
{
|
||||||
Loading…
x
Reference in New Issue
Block a user