diff --git a/client/src/components/Chat/Messages/Content/ToolCallGroup.tsx b/client/src/components/Chat/Messages/Content/ToolCallGroup.tsx index ce2c4fc86b..f0e5df9ae8 100644 --- a/client/src/components/Chat/Messages/Content/ToolCallGroup.tsx +++ b/client/src/components/Chat/Messages/Content/ToolCallGroup.tsx @@ -19,11 +19,11 @@ import { } from '~/utils'; import { useLocalize, useExpandCollapse, scheduleMessageContentLayoutReconcile } from '~/hooks'; import { ToolAuthWarning, ToolAuthWarningContext } from './auth'; +import { useMCPIconMap, useMCPServerNames } from '~/hooks/MCP'; import { AttachmentGroup, ReasoningCompact } from './Parts'; import { isError, StackedToolIcons } from './ToolOutput'; import { isBashProgrammaticToolCall } from './routing'; import { ASK_USER_QUESTION } from '~/utils/approval'; -import { useMCPIconMap, useMCPServerNames } from '~/hooks/MCP'; import SearchVerticals from './verticals'; import store from '~/store'; @@ -266,7 +266,6 @@ export default function ToolCallGroup({ * tool_call part has no output yet, so keep the present tense. */ const askQuestionsDone = allAskQuestions && (allCompleted || !isSubmitting); - /** For a single-tool group, lead with the tool's own (capitalized) label * instead of the generic "Used 1 tool — name", which reads awkwardly. */ const singleToolLabel = useMemo(() => { diff --git a/client/src/utils/__tests__/groupToolCalls.test.ts b/client/src/utils/__tests__/groupToolCalls.test.ts index 663649a8a1..12a8d4ce1e 100644 --- a/client/src/utils/__tests__/groupToolCalls.test.ts +++ b/client/src/utils/__tests__/groupToolCalls.test.ts @@ -206,7 +206,6 @@ describe('groupSequentialToolCalls with activity labels', () => { }); }); - describe('groupSequentialToolCalls reasoning transparency', () => { it('groups two adjacent tool calls', () => { const result = groupSequentialToolCalls(withIndex([toolCall('a'), toolCall('b')]));