MCPcopy Create free account
hub / github.com/OpenPipe/OpenPipe / useFineTunes

Function useFineTunes

app/src/utils/hooks.ts:394–401  ·  view source on GitHub ↗
(refetchInterval?: number)

Source from the content-addressed store, hash-verified

392};
393
394export const useFineTunes = (refetchInterval?: number) => {
395 const selectedProjectId = useSelectedProject().data?.id;
396
397 return api.fineTunes.list.useQuery(
398 { projectId: selectedProjectId ?? "" },
399 { enabled: !!selectedProjectId, refetchInterval },
400 );
401};
402
403export const useFineTune = () => {
404 const router = useRouter();

Callers 2

InitialFiltersFunction · 0.90
FineTunesTableFunction · 0.90

Calls 1

useSelectedProjectFunction · 0.85

Tested by

no test coverage detected