(request AgentSoulHistoryRequest)
| 5844 | } |
| 5845 | |
| 5846 | func agentSoulHistoryValues(request AgentSoulHistoryRequest) url.Values { |
| 5847 | values := agentValues(AgentQuery{Workspace: request.WorkspaceID}) |
| 5848 | if request.Limit > 0 { |
| 5849 | values.Set("limit", strconv.Itoa(request.Limit)) |
| 5850 | } |
| 5851 | if trimmed := strings.TrimSpace(request.Cursor); trimmed != "" { |
| 5852 | values.Set("cursor", trimmed) |
| 5853 | } |
| 5854 | return values |
| 5855 | } |
| 5856 | |
| 5857 | func agentHeartbeatHistoryValues(request AgentHeartbeatHistoryRequest) url.Values { |
| 5858 | values := agentValues(AgentQuery{Workspace: request.WorkspaceID}) |
no test coverage detected