Skip to content

Commit ce184ea

Browse files
Nina KollmanNina Kollman
authored andcommitted
comm
1 parent e95d21a commit ce184ea

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

packages/traceloop-sdk/src/lib/client/experiment/experiment.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -266,12 +266,6 @@ export class Experiment {
266266
throw new Error('Task function is required and must be a function');
267267
}
268268

269-
const { concurrency = 5 } = options;
270-
271-
if (concurrency <= 0 || !Number.isInteger(concurrency)) {
272-
throw new Error('Concurrency must be a positive integer');
273-
}
274-
275269
if (options.evaluators) {
276270
options.evaluators.forEach((evaluator, index) => {
277271
if (typeof evaluator === 'string') {

packages/traceloop-sdk/src/lib/interfaces/experiment.interface.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export interface ExperimentRunOptions {
2323
aux?: Record<string, string>;
2424
stopOnError?: boolean;
2525
waitForResults?: boolean;
26-
concurrency?: number;
2726
}
2827

2928
import type { InputSchemaMapping } from './evaluator.interface';

0 commit comments

Comments
 (0)