refactor: remove progress field from TaskSession and AgentExecution (#75)
This commit is contained in:
@@ -42,7 +42,6 @@ func (c *Controller) ListAgents(ctx context.Context, req dto.ListAgentsRequest)
|
||||
AgentProfileID: a.AgentProfileID,
|
||||
ContainerID: a.ContainerID,
|
||||
Status: string(a.Status),
|
||||
Progress: a.Progress,
|
||||
StartedAt: a.StartedAt,
|
||||
FinishedAt: a.FinishedAt,
|
||||
ExitCode: a.ExitCode,
|
||||
@@ -96,7 +95,6 @@ func (c *Controller) GetAgentStatus(ctx context.Context, req dto.GetAgentStatusR
|
||||
AgentProfileID: agent.AgentProfileID,
|
||||
ContainerID: agent.ContainerID,
|
||||
Status: string(agent.Status),
|
||||
Progress: agent.Progress,
|
||||
StartedAt: agent.StartedAt,
|
||||
FinishedAt: agent.FinishedAt,
|
||||
ExitCode: agent.ExitCode,
|
||||
|
||||
Reference in New Issue
Block a user