mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 19:00:13 +01:00
fix (PaLM2): messages will properly regenerate (#368)
* making progress to fix regen for PaLM * fix (PaLM2): messages will properly regenerate
This commit is contained in:
parent
b8c3ae5e8f
commit
112c6c5b19
3 changed files with 21 additions and 9 deletions
|
|
@ -266,7 +266,7 @@ class GoogleAgent {
|
|||
const user = opts.user || null;
|
||||
const conversationId = opts.conversationId || crypto.randomUUID();
|
||||
const parentMessageId = opts.parentMessageId || '00000000-0000-0000-0000-000000000000';
|
||||
const userMessageId = crypto.randomUUID();
|
||||
const userMessageId = opts.overrideParentMessageId || crypto.randomUUID();
|
||||
const responseMessageId = crypto.randomUUID();
|
||||
const messages = await this.loadHistory(conversationId, this.options?.parentMessageId);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue