mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
fix: attachments go in new prompt so that sidenav bar updates without refresh
This commit is contained in:
parent
0dba5c6450
commit
277a321155
1 changed files with 4 additions and 1 deletions
|
|
@ -413,7 +413,10 @@ module.exports = {
|
|||
prompt: newPrompt,
|
||||
group: {
|
||||
...newPromptGroup,
|
||||
productionPrompt: { prompt: newPrompt.prompt },
|
||||
productionPrompt: {
|
||||
prompt: newPrompt.prompt,
|
||||
tool_resources: newPrompt.tool_resources,
|
||||
},
|
||||
},
|
||||
};
|
||||
} catch (error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue