diff --git a/client/src/components/Chat/Messages/Content/ToolCallGroup.tsx b/client/src/components/Chat/Messages/Content/ToolCallGroup.tsx index 157bfab3a0..b9c1b3a7e9 100644 --- a/client/src/components/Chat/Messages/Content/ToolCallGroup.tsx +++ b/client/src/components/Chat/Messages/Content/ToolCallGroup.tsx @@ -10,13 +10,13 @@ import type { } from 'librechat-data-provider'; import type { PartWithIndex } from './ParallelContent'; import { useLocalize, useExpandCollapse, scheduleMessageContentLayoutReconcile } from '~/hooks'; +import { cn, getToolDisplayLabel, getActivityLabelPart, getActivityLabelText } from '~/utils'; 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 { cn, getToolDisplayLabel, getActivityLabelPart, getActivityLabelText } from '~/utils'; -import { useMCPIconMap, useMCPServerNames } from '~/hooks/MCP'; import SearchVerticals from './verticals'; import store from '~/store'; @@ -280,7 +280,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 5880c9aa7b..71da2453e8 100644 --- a/client/src/utils/__tests__/groupToolCalls.test.ts +++ b/client/src/utils/__tests__/groupToolCalls.test.ts @@ -183,7 +183,6 @@ describe('groupSequentialToolCalls with activity labels', () => { }); }); - describe('groupSequentialToolCalls reasoning transparency', () => { it('groups two adjacent tool calls', () => { const result = groupSequentialToolCalls(withIndex([toolCall('a'), toolCall('b')]));