| undefined;
@@ -42,6 +45,9 @@ export function SubagentTooltipContent(props: {
const { modelLabel, workspace: metadata } = resolveSubagentMetadata(props);
const preview = subagentDetailPreview(props);
const driver = props.provider?.driver ?? props.driver;
+ const entries = deriveProviderInstanceEntries(props.providers ?? []);
+ const entry = entries.find((candidate) => candidate.instanceId === props.provider?.instanceId);
+ const showInstanceBadge = entry !== undefined && shouldShowInstanceBadge(entry, entries);
const working = ["running", "in_progress", "pending", "waiting"].includes(props.status);
const failed = ["failed", "error"].includes(props.status);
const StatusIcon = working
@@ -57,14 +63,21 @@ export function SubagentTooltipContent(props: {
{driver ? (
) : (
)}
- {modelLabel}
+
+ {showInstanceBadge ? `${modelLabel} · ${entry.displayName}` : modelLabel}
+
}
status={agent.status}
diff --git a/apps/web/src/components/chat/V2LifecycleRow.tsx b/apps/web/src/components/chat/V2LifecycleRow.tsx
index ea453a2b0c35685b983ae15001d3ce7c05bf04dd..e2506695ca5a918b784ea4035ec1bd33ca95d4b9 100644
--- a/apps/web/src/components/chat/V2LifecycleRow.tsx
+++ b/apps/web/src/components/chat/V2LifecycleRow.tsx
@@ -217,6 +217,7 @@ export function V2LifecycleRow(props: {
provider={props.providerStatuses.find(
(provider) => provider.instanceId === item.providerInstanceId,
)}
+ providers={props.providerStatuses}
title={formatSubagentDisplayTitle(item.title ?? "Subagent")}
result={item.result}
progress={item.progress}
@@ -374,6 +375,7 @@ export function SubagentNotificationLink(props: {
provider={props.providerStatuses.find(
(provider) => provider.instanceId === agent.providerInstanceId,
)}
+ providers={props.providerStatuses}
title={formatSubagentDisplayTitle(agent.title ?? "Subagent")}
result={agent.result}
progress={agent.progress}
@@ -395,6 +397,7 @@ function SubagentTimelineLink(props: {
readonly subagentId: NodeId;
readonly driver: ProviderDriverKind;
readonly provider: ServerProvider | undefined;
+ readonly providers: ReadonlyArray;
readonly title: string;
readonly result: string | null;
readonly progress: string | undefined;
@@ -538,6 +541,7 @@ function SubagentTimelineTooltip(
title={formatSubagentDisplayTitle(child?.title ?? props.title)}
model={props.model}
provider={props.provider}
+ providers={props.providers}
driver={props.driver}
elapsed={props.elapsed}
status={props.status}