diff --git a/apps/web/src/bench/bench-pill.tsx b/apps/web/src/bench/bench-pill.tsx index b84232c15..cf3b70d58 100644 --- a/apps/web/src/bench/bench-pill.tsx +++ b/apps/web/src/bench/bench-pill.tsx @@ -1,5 +1,6 @@ import { CaretDown } from "@/lib/icons"; import { IdentityAvatar } from "@/chat/avatar"; +import type { WorkerStatus } from "../worker-status"; /** Frosted pill centered over the thread: the bench's worker, its name and * live status. Toggles the bench drawer. */ @@ -12,7 +13,7 @@ export function BenchPill({ }: { readonly benchName: string; readonly worker: { readonly id: string; readonly name: string } | undefined; - readonly status: string; + readonly status: WorkerStatus; readonly open: boolean; readonly onToggle: () => void; }) { @@ -25,10 +26,15 @@ export function BenchPill({ onClick={onToggle} > {worker === undefined ? null : ( - + )} {benchName} - {status} + {status.text}