mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-22 19:30:15 +01:00
trying different markdown library for proper list styling
This commit is contained in:
parent
34ebd97c9d
commit
78c9f3dc74
8 changed files with 4352 additions and 132 deletions
|
|
@ -43,11 +43,8 @@ export default function handleSubmit({
|
|||
const data = JSON.parse(e.data);
|
||||
let text = data.text || data.response;
|
||||
if (data.message) {
|
||||
// text = text.match(newLineRegex) ? text.replace(newLineRegex, '') : text;
|
||||
// console.log(data);
|
||||
messageHandler(text);
|
||||
} else if (data.final) {
|
||||
console.log(data);
|
||||
convoHandler(data);
|
||||
} else {
|
||||
console.log('initial', data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue