mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 08:12:00 +02:00
🔃 refactor: Parent Message ID Handling on Error, Update Translations, Bump Agents (#5833)
* 📦 chore: Update @librechat/agents to version 2.0.5 * fix: Update error handling in AskController and EditController to include overrideParentMessageId when catching errors * fix: Update parentMessageId assignment in AgentController to prioritize overrideParentMessageId * 🌍 i18n: Update translation.json with latest translations --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
7f48030452
commit
4fa13f45e3
25 changed files with 579 additions and 1978 deletions
|
@ -135,11 +135,11 @@ const EditController = async (req, res, next, initializeClient) => {
|
|||
} catch (error) {
|
||||
const partialText = getText();
|
||||
handleAbortError(res, req, error, {
|
||||
sender,
|
||||
partialText,
|
||||
conversationId,
|
||||
sender,
|
||||
messageId: responseMessageId,
|
||||
parentMessageId: userMessageId ?? parentMessageId,
|
||||
parentMessageId: overrideParentMessageId ?? userMessageId ?? parentMessageId,
|
||||
}).catch((err) => {
|
||||
logger.error('[EditController] Error in `handleAbortError`', err);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue