Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web): show subagent effort and speed in hover cards #13056

MergedBil0000(GitHub profile, opens in a new tab)merged 4 commits intomain fromrefs/pull/13056/headmerged by juliusmarminge View on GitHub

Showing 6 changed files with 75 additions and 3 deletions (loading 5).

x
0 of 6 viewed, 6 left
75 additions and 3 deletionsapps/web/src/components/chat/SubagentTooltipContent.tsxModified
View file
@@ -4,11 +4,15 @@
OrchestrationProjectShell,
ServerProvider,
ProviderDriverKind,
+ ProviderInstanceId,
+ OrchestrationV2Subagent,
} from "@t3tools/contracts";
import {
resolveSubagentMetadata,
subagentDetailPreview,
} from "@t3tools/client-runtime/state/subagent-display";
+import { getModelSelectionStringOptionValue, resolveSelectableModel } from "@t3tools/shared/model";
+import { getTraitsSpeedDisplay, TraitsSpeedIcon } from "./TraitsSpeed";
import type { ReactNode } from "react";
import {
BotIcon,
@@ -29,13 +33,17 @@
export function SubagentTooltipContent(props: {
title: string;
model: string | null;
+ providerInstanceId: ProviderInstanceId;
+ origin: OrchestrationV2Subagent["origin"];
provider?: ServerProvider | undefined;
/** The environment's instances; with several accounts on one provider, the card names this one. */
providers?: ReadonlyArray<ServerProvider> | undefined;
driver?: ProviderDriverKind | undefined;
elapsed?: ReactNode;
parentThread?: Pick<OrchestrationV2ThreadShell, "projectId" | "worktreePath"> | undefined;
- childThread?: Pick<OrchestrationV2ThreadShell, "branch" | "worktreePath"> | undefined;