mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 10:20:15 +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,
|
prompt: newPrompt,
|
||||||
group: {
|
group: {
|
||||||
...newPromptGroup,
|
...newPromptGroup,
|
||||||
productionPrompt: { prompt: newPrompt.prompt },
|
productionPrompt: {
|
||||||
|
prompt: newPrompt.prompt,
|
||||||
|
tool_resources: newPrompt.tool_resources,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue