Kind: Function
Source: atloria-monorepo/libs/agent-core/src/benchmark/retry-runner.ts
Run a benchmark task with retries, picking the best result.
Signature
tsasync function runWithRetry(task: BenchmarkTask, runOnce: (task: BenchmarkTask, temperature?: number) => Promise<TaskResult>, config: RetryConfig, log: (msg: string) => void): Promise<RetryResult>
Parameters
| Name | Type |
|---|---|
task | BenchmarkTask |
runOnce | (task: BenchmarkTask, temperature?: number) => Promise<TaskResult> |
config | RetryConfig |
log | (msg: string) => void |
Returns: Promise<RetryResult>
Was this page helpful?