Update summary on agentName change
This commit is contained in:
@@ -39,6 +39,7 @@ public class AgentGrain : Grain, IAgentGrain, IRemindable
|
|||||||
{
|
{
|
||||||
_state.State.AgentName = agentName;
|
_state.State.AgentName = agentName;
|
||||||
await _state.WriteStateAsync();
|
await _state.WriteStateAsync();
|
||||||
|
await UpdateSummary();
|
||||||
_logger.LogInformation("Agent {UserId} initialized with name {AgentName}", userId, agentName);
|
_logger.LogInformation("Agent {UserId} initialized with name {AgentName}", userId, agentName);
|
||||||
await RegisterReminderAsync();
|
await RegisterReminderAsync();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user