mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-01 16:18:51 +01:00
chore: fix broken browser client
This commit is contained in:
parent
b0936fa322
commit
0af8f6a699
1 changed files with 4 additions and 0 deletions
|
|
@ -24,6 +24,10 @@ const browserClient = async ({ text, onProgress, convo, abortController }) => {
|
|||
options = { ...options, ...convo };
|
||||
}
|
||||
|
||||
if (convo.parentMessageId.startsWith('0000')) {
|
||||
delete options.conversationId;
|
||||
}
|
||||
|
||||
const res = await client.sendMessage(text, options);
|
||||
return res;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue