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

Method runBenchmark

studio/src/api/client.ts:237–242  ·  view source on GitHub ↗
(id: string, req: RunBenchmarkRequest = {})

Source from the content-addressed store, hash-verified

235 }
236
237 async runBenchmark(id: string, req: RunBenchmarkRequest = {}): Promise<BenchmarkRecord> {
238 return this.fetch<BenchmarkRecord>(`/eval/benchmarks/${id}/run`, {
239 method: 'POST',
240 body: JSON.stringify(req),
241 });
242 }
243
244 async deleteBenchmark(id: string): Promise<void> {
245 await fetch(`${this.baseUrl}/eval/benchmarks/${id}`, {

Callers 1

useRunBenchmarkFunction · 0.80

Calls 1

fetchMethod · 0.95

Tested by

no test coverage detected