mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-22 11:20:15 +01:00
Merge branch 'main' into feat-endpoint-style-structure
This commit is contained in:
commit
8fa20d9356
18 changed files with 2281 additions and 24 deletions
|
|
@ -16,11 +16,12 @@ export default function Conversation({ conversation, retainView }) {
|
|||
const { switchToConversation } = store.useConversation();
|
||||
|
||||
const [renaming, setRenaming] = useState(false);
|
||||
const [titleInput, setTitleInput] = useState(title);
|
||||
const inputRef = useRef(null);
|
||||
|
||||
const { conversationId, title } = conversation;
|
||||
|
||||
const [titleInput, setTitleInput] = useState(title);
|
||||
|
||||
const rename = manualSWR(`/api/convos/update`, 'post');
|
||||
|
||||
const clickHandler = async () => {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { useEffect } from 'react';
|
||||
import { useRecoilValue, useResetRecoilState, useSetRecoilState } from 'recoil';
|
||||
import { SSE } from '~/utils/sse';
|
||||
import { SSE } from '~/utils/sse.mjs';
|
||||
import createPayload from '~/utils/createPayload';
|
||||
|
||||
import store from '~/store';
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import remarkMath from 'remark-math';
|
|||
import remarkGfm from 'remark-gfm';
|
||||
import rehypeRaw from 'rehype-raw'
|
||||
import CodeBlock from './CodeBlock';
|
||||
import { langSubset } from '~/utils/languages';
|
||||
import { langSubset } from '~/utils/languages.mjs';
|
||||
|
||||
const Content = React.memo(({ content }) => {
|
||||
let rehypePlugins = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue