mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-31 07:38:52 +01:00
remove punctuation from titles
This commit is contained in:
parent
42c74f254c
commit
0bec306e59
1 changed files with 2 additions and 1 deletions
|
|
@ -17,7 +17,8 @@ const titleConvo = async ({ message, response, model }) => {
|
|||
]
|
||||
});
|
||||
|
||||
return completion.data.choices[0].message.content.replace(/"/g, '');
|
||||
//eslint-disable-next-line
|
||||
return completion.data.choices[0].message.content.replace(/["\.]/g, '');
|
||||
};
|
||||
|
||||
module.exports = titleConvo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue