Fix update AgentName

This commit is contained in:
2025-09-24 11:35:40 +07:00
parent 68350e3c24
commit 44846a1817
6 changed files with 65 additions and 0 deletions

View File

@@ -28,4 +28,11 @@ public interface IAgentSummaryRepository
string sortOrder,
IEnumerable<string>? agentNames = null);
Task<IEnumerable<AgentSummary>> GetAllAgentWithRunningBots();
/// <summary>
/// Updates only the agent name for a specific user's agent summary
/// </summary>
/// <param name="userId">The user ID</param>
/// <param name="agentName">The new agent name</param>
Task UpdateAgentNameAsync(int userId, string agentName);
}