diff --git a/apps/web/src/components/reviewSweep/ReviewSweepView.tsx b/apps/web/src/components/reviewSweep/ReviewSweepView.tsx index 4c74b04a19..7fd948e83a 100644 --- a/apps/web/src/components/reviewSweep/ReviewSweepView.tsx +++ b/apps/web/src/components/reviewSweep/ReviewSweepView.tsx @@ -171,7 +171,10 @@ function SweepPreRunSummary() { // here, in the same most-recently-active order startReviewSweep uses, // so the environment/model rows never overstate the calls. const reviewed = candidates.slice(0, SWEEP_MAX_THREADS); - const models = new Map(); + const models = new Map< + string, + { environmentId: string; label: string; model: string; threads: number } + >(); for (const shell of reviewed) { const config = serverConfigs.get(shell.environmentId); const entry = models.get(shell.environmentId); @@ -180,6 +183,7 @@ function SweepPreRunSummary() { } else { const selection = config?.settings.textGenerationModelSelection; models.set(shell.environmentId, { + environmentId: shell.environmentId, label: config?.environment.label ?? shell.environmentId, model: selection ? `${selection.model}` : "server default", threads: 1, @@ -222,7 +226,7 @@ function SweepPreRunSummary() { : ""} {modelsByEnvironment.map((entry) => ( -
+
{entry.label}: {entry.model} ยท {entry.threads}{" "} {entry.threads === 1 ? "thread" : "threads"}