🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
import { useTraceDetailData } from "@/src/features/traces/hooks/useTraceDetailData";
type UsePeekDataProps = {
projectId: string;
traceId?: string;
timestamp?: Date;
};
/**
* Peek's trace-data hook — a thin wrapper over the shared
* {@link useTraceDetailData} so the peek and the standalone trace page fetch
* through one place. Callers read `data` / `isLoading`.
*/
export const usePeekData = ({
projectId,
traceId,
timestamp,
}: UsePeekDataProps) => useTraceDetailData({ projectId, traceId, timestamp });