mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-27 13:48:51 +01:00
chore: temp. remove added multi convo
This commit is contained in:
parent
4c115b684c
commit
be3b6d21d7
2 changed files with 6 additions and 8 deletions
|
|
@ -32,7 +32,6 @@ function LoadingSpinner() {
|
|||
function ChatView({ index = 0 }: { index?: number }) {
|
||||
const { conversationId } = useParams();
|
||||
const rootSubmission = useRecoilValue(store.submissionByIndex(index));
|
||||
const addedSubmission = useRecoilValue(store.submissionByIndex(index + 1));
|
||||
const centerFormOnLanding = useRecoilValue(store.centerFormOnLanding);
|
||||
|
||||
const fileMap = useFileMapContext();
|
||||
|
|
@ -52,7 +51,6 @@ function ChatView({ index = 0 }: { index?: number }) {
|
|||
const addedChatHelpers = useAddedResponse({ rootIndex: index });
|
||||
|
||||
useAdaptiveSSE(rootSubmission, chatHelpers, false, index);
|
||||
useAdaptiveSSE(addedSubmission, addedChatHelpers, true, index + 1);
|
||||
|
||||
// Auto-resume if navigating back to conversation with active job
|
||||
// Wait for messages to load before resuming to avoid race condition
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import { useGetStartupConfig } from '~/data-provider';
|
|||
import ExportAndShareMenu from './ExportAndShareMenu';
|
||||
import BookmarkMenu from './Menus/BookmarkMenu';
|
||||
import { TemporaryChat } from './TemporaryChat';
|
||||
import AddMultiConvo from './AddMultiConvo';
|
||||
// import AddMultiConvo from './AddMultiConvo';
|
||||
import { useHasAccess } from '~/hooks';
|
||||
import { cn } from '~/utils';
|
||||
|
||||
|
|
@ -30,10 +30,10 @@ export default function Header() {
|
|||
permission: Permissions.USE,
|
||||
});
|
||||
|
||||
const hasAccessToMultiConvo = useHasAccess({
|
||||
permissionType: PermissionTypes.MULTI_CONVO,
|
||||
permission: Permissions.USE,
|
||||
});
|
||||
// const hasAccessToMultiConvo = useHasAccess({
|
||||
// permissionType: PermissionTypes.MULTI_CONVO,
|
||||
// permission: Permissions.USE,
|
||||
// });
|
||||
|
||||
const isSmallScreen = useMediaQuery('(max-width: 768px)');
|
||||
|
||||
|
|
@ -67,7 +67,7 @@ export default function Header() {
|
|||
<ModelSelector startupConfig={startupConfig} />
|
||||
{interfaceConfig.presets === true && interfaceConfig.modelSelect && <PresetsMenu />}
|
||||
{hasAccessToBookmarks === true && <BookmarkMenu />}
|
||||
{hasAccessToMultiConvo === true && <AddMultiConvo />}
|
||||
{/* {hasAccessToMultiConvo === true && <AddMultiConvo />} */}
|
||||
{isSmallScreen && (
|
||||
<>
|
||||
<ExportAndShareMenu
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue