mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 09:20:15 +01:00
fix bing chat not persisting after 1st invocation
This commit is contained in:
parent
fd01fd3334
commit
61d898c387
3 changed files with 4 additions and 15 deletions
|
|
@ -44,7 +44,7 @@ const inLineWrap = (parts) => {
|
|||
};
|
||||
|
||||
export default function TextWrapper({ text }) {
|
||||
// append triple backticks to the end of the text if only singular found and language found
|
||||
// append triple backticks to the end of the text only if singular found and language found
|
||||
if (text.match(/```/g)?.length === 1 && text.match(languageMatch)) {
|
||||
text += '```';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue