(runId: string | undefined)
| 191 | |
| 192 | /** Fetch the run's full reply stream, ordered by seq ascending. */ |
| 193 | export function useRunReplies(runId: string | undefined) { |
| 194 | return useQuery<RunReply[]>({ |
| 195 | queryKey: traceKeys.replies(runId ?? ''), |
| 196 | queryFn: () => apiClient.get(`/api/runs/${runId}/replies`), |
| 197 | enabled: !!runId, |
| 198 | staleTime: 5_000, |
| 199 | }) |
| 200 | } |
| 201 | |
| 202 | type HttpMethod = 'POST' | 'PATCH' |
| 203 |
no outgoing calls
no test coverage detected
searching dependent graphs…