MCPcopy Create free account
hub / github.com/AIScientists-Dev/Flowtrace / useRunReplies

Function useRunReplies

frontend/src/features/trace/api/trace-core.ts:193–200  ·  view source on GitHub ↗
(runId: string | undefined)

Source from the content-addressed store, hash-verified

191
192/** Fetch the run's full reply stream, ordered by seq ascending. */
193export 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
202type HttpMethod = 'POST' | 'PATCH'
203

Callers 1

TraceReplyScrollFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…