From a0c6496b62dfb7e764e19585460bbaa0bb42384a 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 --- client/src/components/Chat/Messages/Content/ToolCallGroup.tsx | 3 +-- client/src/utils/__tests__/groupToolCalls.test.ts | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) 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')]));