From 88197203e280442b8190d3ce016b4235f7253df8 Mon Sep 17 00:00:00 2001 From: Marco Beretta <81851188+berry-13@users.noreply.github.com> Date: Fri, 31 Jul 2026 19:28:08 +0200 Subject: [PATCH] style(client): fix changed-file lint formatting --- .../src/components/Chat/Messages/Content/ToolCallGroup.tsx | 5 ++--- client/src/utils/__tests__/groupToolCalls.test.ts | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) 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')]));