Skip to content

Commit d030bff

Browse files
authored
feat(evals): Add run mode to API payload (#249)
1 parent 2458d95 commit d030bff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎app/(main)/evaluations/page.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ function SimplifiedEvalContent() {
230230
experiment_name: experimentName.trim(),
231231
config_id: selectedConfigId,
232232
config_version: selectedConfigVersion,
233+
run_mode: runMode === "fast" ? "fast" : "batch",
233234
};
234-
if (runMode === "fast") payload.run_mode = "fast";
235235

236236
await apiFetch("/api/evaluations", apiKey, {
237237
method: "POST",

0 commit comments

Comments
 (0)