Reduce Agent Summary call
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using Orleans;
|
||||
using static Managing.Common.Enums;
|
||||
|
||||
namespace Managing.Application.Abstractions.Models;
|
||||
|
||||
/// <summary>
|
||||
/// Event sent to AgentGrain to trigger summary updates
|
||||
/// </summary>
|
||||
[GenerateSerializer]
|
||||
public class AgentSummaryUpdateEvent
|
||||
{
|
||||
[Id(0)]
|
||||
public int UserId { get; set; }
|
||||
|
||||
[Id(1)]
|
||||
public Guid BotId { get; set; }
|
||||
|
||||
[Id(2)]
|
||||
public AgentSummaryEventType EventType { get; set; }
|
||||
|
||||
[Id(3)]
|
||||
public DateTime Timestamp { get; set; } = DateTime.UtcNow;
|
||||
|
||||
[Id(4)]
|
||||
public string? AdditionalData { get; set; } // Optional additional context
|
||||
}
|
||||
Reference in New Issue
Block a user