mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-19 09:50:15 +01:00
🪙 fix: Streaming Response Token Issue (#3323)
* chore: use NEW_CONVO constant * fix: token object assign issue
This commit is contained in:
parent
326069d7a6
commit
5ef71a7a36
7 changed files with 5 additions and 7 deletions
|
|
@ -107,7 +107,7 @@ export default function useChatFunctions({
|
|||
const intermediateId = overrideUserMessageId ?? v4();
|
||||
parentMessageId = parentMessageId || latestMessage?.messageId || Constants.NO_PARENT;
|
||||
|
||||
if (conversationId == 'new') {
|
||||
if (conversationId == Constants.NEW_CONVO) {
|
||||
parentMessageId = Constants.NO_PARENT;
|
||||
currentMessages = [];
|
||||
conversationId = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue