From a92ca4e779419e79c364bf577e262687ef494eb8 Mon Sep 17 00:00:00 2001 From: Ayush8923 <80516839+Ayush8923@users.noreply.github.com> Date: Tue, 15 Sep 2026 09:40:58 +0530 Subject: [PATCH] fix: include judge cost in evaluation cost tooltip --- app/components/evaluations/EvalRunCard.tsx | 8 ++++++++ app/lib/types/evaluation.ts | 1 + 2 files changed, 9 insertions(+) diff --git a/app/components/evaluations/EvalRunCard.tsx b/app/components/evaluations/EvalRunCard.tsx index 5a74da9..05c1093 100644 --- a/app/components/evaluations/EvalRunCard.tsx +++ b/app/components/evaluations/EvalRunCard.tsx @@ -91,6 +91,14 @@ export default function EvalRunCard({ )} + {job.cost.judge && ( + <> + Judge scoring + + {formatCostUSD(job.cost.judge.cost_usd)} + + + )} {job.cost.embedding && ( <> Cosine similarity calculation diff --git a/app/lib/types/evaluation.ts b/app/lib/types/evaluation.ts index 5b0eb7f..2e67b6f 100644 --- a/app/lib/types/evaluation.ts +++ b/app/lib/types/evaluation.ts @@ -119,6 +119,7 @@ export interface EvalCostEntry { export interface EvalCost { response?: EvalCostEntry; + judge?: EvalCostEntry; embedding?: EvalCostEntry; total_cost_usd: number; }