MCPcopy Create free account
hub / github.com/astercloud/aster / useEvals

Function useEvals

studio/src/hooks/useApi.ts:206–211  ·  view source on GitHub ↗
(opts: EvalQueryOpts = {})

Source from the content-addressed store, hash-verified

204
205// Evaluations
206export function useEvals(opts: EvalQueryOpts = {}) {
207 return useQuery({
208 queryKey: queryKeys.evals(opts),
209 queryFn: () => api.getEvals(opts),
210 });
211}
212
213export function useEval(id: string) {
214 return useQuery({

Callers 1

EvaluationsFunction · 0.90

Calls 1

getEvalsMethod · 0.80

Tested by

no test coverage detected