mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-19 09:50:15 +01:00
* feat: move buildTree function for message hierarchy to data provider * refactor: consolidate buildTree import from utils to data provider * fix: correct string interpolation in messages function, which caused message search requests to fail
This commit is contained in:
parent
78d735f35c
commit
a362963017
12 changed files with 63 additions and 94 deletions
|
|
@ -4,6 +4,7 @@ import { useParams } from 'react-router-dom';
|
|||
import exportFromJSON from 'export-from-json';
|
||||
import { useQueryClient } from '@tanstack/react-query';
|
||||
import {
|
||||
buildTree,
|
||||
QueryKeys,
|
||||
ContentTypes,
|
||||
ToolCallTypes,
|
||||
|
|
@ -18,7 +19,7 @@ import type {
|
|||
} from 'librechat-data-provider';
|
||||
import useBuildMessageTree from '~/hooks/Messages/useBuildMessageTree';
|
||||
import { useScreenshot } from '~/hooks/ScreenshotContext';
|
||||
import { cleanupPreset, buildTree } from '~/utils';
|
||||
import { cleanupPreset } from '~/utils';
|
||||
|
||||
type ExportValues = {
|
||||
fieldName: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue