mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 17:30:16 +01:00
chatgpt now titles conversations
This commit is contained in:
parent
897c384ac9
commit
c4d0787b49
4 changed files with 31 additions and 8 deletions
|
|
@ -87,7 +87,7 @@ router.post('/', async (req, res) => {
|
|||
}
|
||||
|
||||
if (!parentMessageId) {
|
||||
gptResponse.title = await titleConvo(text, JSON.stringify(gptResponse.text), model);
|
||||
gptResponse.title = await titleConvo({ model, message: text, response: JSON.stringify(gptResponse.text) });
|
||||
}
|
||||
gptResponse.sender = model;
|
||||
gptResponse.final = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue