mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +02:00
feat(api): add support for saving messages to database
fix(api): change arrowParens prettier option to always fix(api): update addToCache to include endpointOption and latestMessage fix(api): update askOpenAI to include endpointOption in abortControllers fix(client): remove abortKey state and add currentParent state to MessageHandler
This commit is contained in:
parent
6246ffff1e
commit
a81bd27b39
5 changed files with 78 additions and 32 deletions
|
@ -12,6 +12,7 @@ module.exports = {
|
|||
error
|
||||
}) => {
|
||||
try {
|
||||
// may also need to update the conversation here
|
||||
await Message.findOneAndUpdate(
|
||||
{ messageId },
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue