mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 02:40:14 +01:00
fix: generate title by backend
This commit is contained in:
parent
3e7ce67609
commit
27515cb00a
6 changed files with 40 additions and 26 deletions
|
|
@ -74,7 +74,6 @@ export default function Conversation({
|
|||
);
|
||||
}
|
||||
const data = await trigger();
|
||||
console.log('data', data);
|
||||
|
||||
if (chatGptLabel) {
|
||||
dispatch(setModel('chatgptCustom'));
|
||||
|
|
|
|||
|
|
@ -307,7 +307,7 @@ export default function TextChat({ messages }) {
|
|||
|
||||
const changeHandler = (e) => {
|
||||
const { value } = e.target;
|
||||
console.log(value)
|
||||
|
||||
if (isSubmitting && (value === '' || value === '\n')) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,8 +26,6 @@ const Messages = ({ messages }) => {
|
|||
|
||||
const messageTree = useMemo(() => buildTree(messages), [messages, ]);
|
||||
|
||||
console.log('messageTree', messageTree);
|
||||
|
||||
function buildTree(messages) {
|
||||
let messageMap = {};
|
||||
let rootMessages = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue