diff --git a/src/renderer/components/team/activity/LeadThoughtsGroup.tsx b/src/renderer/components/team/activity/LeadThoughtsGroup.tsx index fe0d2540..cc42e2e9 100644 --- a/src/renderer/components/team/activity/LeadThoughtsGroup.tsx +++ b/src/renderer/components/team/activity/LeadThoughtsGroup.tsx @@ -115,12 +115,24 @@ function ToolSummaryTooltipContent({
{toolCalls.length} {toolCalls.length === 1 ? 'tool call' : 'tool calls'}
- {toolCalls.map((tc, i) => ( -
- {tc.name} - {tc.preview && {tc.preview}} -
- ))} + {toolCalls.map((tc, i) => { + const isAgent = tc.name === 'Agent' || tc.name === 'TaskCreate'; + return ( +
+ + {isAgent ? '🤖 ' : ''} + {tc.name} + + {tc.preview && ( + + {tc.preview} + + )} +
+ ); + })} ); } diff --git a/src/shared/utils/toolSummary.ts b/src/shared/utils/toolSummary.ts index df3c72be..8f8c3ce2 100644 --- a/src/shared/utils/toolSummary.ts +++ b/src/shared/utils/toolSummary.ts @@ -96,9 +96,9 @@ export function extractToolPreview( case 'Agent': case 'TaskCreate': return typeof input.prompt === 'string' - ? truncateStr(input.prompt, 60) + ? truncateStr(input.prompt, 200) : typeof input.description === 'string' - ? truncateStr(input.description, 60) + ? truncateStr(input.description, 200) : undefined; case 'WebFetch': if (typeof input.url === 'string') {