mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-04 14:57:42 +00:00
style(client): fix changed-file lint formatting
This commit is contained in:
parent
5bada1fab6
commit
88197203e2
2 changed files with 2 additions and 4 deletions
|
|
@ -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(() => {
|
||||
|
|
|
|||
|
|
@ -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')]));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue