code highlighting in progress

This commit is contained in:
Danny Avila 2023-02-23 16:32:08 -05:00
parent 187f7b5b03
commit e95e22de15
10 changed files with 169 additions and 18 deletions

View file

@ -154,7 +154,7 @@ router.post('/', async (req, res) => {
}
if (!parentMessageId) {
gptResponse.title = await titleConvo(text, gptResponse.text, model);
gptResponse.title = await titleConvo(text, JSON.stringify(gptResponse.text), model);
}
gptResponse.sender = model;
gptResponse.final = true;