mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 09:20:15 +01:00
indicate initial gpt response
This commit is contained in:
parent
61d898c387
commit
34ebd97c9d
1 changed files with 2 additions and 1 deletions
|
|
@ -117,7 +117,8 @@ router.post('/', async (req, res) => {
|
|||
if (tokens.includes('[DONE]')) {
|
||||
tokens = tokens.replace('[DONE]', '');
|
||||
}
|
||||
sendMessage(res, { text: tokens, message: true });
|
||||
sendMessage(res, { text: tokens, message: true, initial: i === 0 ? true : false });
|
||||
i++;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue