Reduce Agent Summary call

This commit is contained in:
2025-09-15 00:19:21 +07:00
parent 37d57a1bb8
commit b0d2dcc6b9
10 changed files with 402 additions and 36 deletions

View File

@@ -1,3 +1,5 @@
using Managing.Application.Abstractions.Models;
namespace Managing.Application.Abstractions.Grains
{
public interface IAgentGrain : IGrainWithIntegerKey
@@ -23,5 +25,11 @@ namespace Managing.Application.Abstractions.Grains
/// Unregisters a bot from this agent.
/// </summary>
Task UnregisterBotAsync(Guid botId);
/// <summary>
/// Handles stream notifications for agent summary updates.
/// </summary>
/// <param name="updateEvent">The update event from the stream</param>
Task OnAgentSummaryUpdateAsync(AgentSummaryUpdateEvent updateEvent);
}
}