mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 02:10:15 +01:00
fix: chatgptBrowser handling and ask.js refactor
This commit is contained in:
parent
005d8fb178
commit
0d7300be9b
4 changed files with 39 additions and 92 deletions
|
|
@ -31,6 +31,8 @@ const browserClient = async ({ text, onProgress, convo, abortController }) => {
|
|||
options = { ...options, ...convo };
|
||||
}
|
||||
|
||||
console.log('gptBrowser options', options, clientOptions);
|
||||
|
||||
/* will error if given a convoId at the start */
|
||||
if (convo.parentMessageId.startsWith('0000')) {
|
||||
delete options.conversationId;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue