(agentId: string, pollInterval = DEFAULT_POLL_INTERVAL)
| 156 | * Useful for AgentLogViewer which displays both |
| 157 | */ |
| 158 | export function useAllIterationData(agentId: string, pollInterval = DEFAULT_POLL_INTERVAL) { |
| 159 | const iterations = useIterations(agentId, pollInterval); |
| 160 | const historicalSessions = useHistoricalSessions(agentId); |
| 161 | |
| 162 | return { iterations, historicalSessions }; |
| 163 | } |
| 164 | |
| 165 | /** |
| 166 | * Hook to get storage usage for an agent |
no test coverage detected