Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix: increase attempts for evals (#4487)

Max Deichmann9831bb8e44b7
diff --git a/worker/src/ee/experiments/experimentService.ts b/worker/src/ee/experiments/experimentService.ts
index 2008d86255..336ac10a65 100644
--- a/worker/src/ee/experiments/experimentService.ts
+++ b/worker/src/ee/experiments/experimentService.ts
@@ -235,7 +235,7 @@ export const createExperimentJob = async ({
traceParams,
),
{
- numOfAttempts: 1, // turn off retries as Langchain is doing that for us already.
+ numOfAttempts: 5, // turn off retries as Langchain is doing that for us already.
},
);
diff --git a/worker/src/features/evaluation/evalService.ts b/worker/src/features/evaluation/evalService.ts
index 1b887dad68..4f1b9e4ff5 100644
--- a/worker/src/features/evaluation/evalService.ts
+++ b/worker/src/features/evaluation/evalService.ts
@@ -448,7 +448,7 @@ export const evaluate = async ({
evalScoreSchema,
),
{
- numOfAttempts: 1, // turn off retries as Langchain is doing that for us already.
+ numOfAttempts: 5, // turn off retries as Langchain is doing that for us already.
},
);