Update summary on agentName change

This commit is contained in:
2025-08-06 14:57:58 +07:00
parent 5dcb5c318e
commit b70018ba15

View File

@@ -39,6 +39,7 @@ public class AgentGrain : Grain, IAgentGrain, IRemindable
{
_state.State.AgentName = agentName;
await _state.WriteStateAsync();
await UpdateSummary();
_logger.LogInformation("Agent {UserId} initialized with name {AgentName}", userId, agentName);
await RegisterReminderAsync();
}