Skip to content

Commit b4fcf66

Browse files
author
Andrei Bratu
committed
add messages in error log
1 parent 558fa27 commit b4fcf66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/eval_utils/run.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@ export async function runEval(
460460
const errorMessage = e instanceof Error ? e.message : String(e);
461461
await logFunc({
462462
inputs: { ...datapoint.inputs },
463+
messages: datapoint.messages,
463464
error: errorMessage,
464465
sourceDatapointId: datapoint.id,
465466
startTime: start_time,

0 commit comments

Comments
 (0)