LibreChat/api/models
Danny Avila 379e470e38
🧹fix: Handle Abort Message Edge Cases (#1462)
* chore: bump langchain to v0.0.213 from v0.0.186

* fix: handle abort edge cases:
- abort message server-side if response experienced error mid-generation
- attempt to recover message if aborting resulted in error
- if abortKey is not provided, use conversationId if it exists
- if headers were already sent, send an Event stream message
- issue warning for possible Google censor/filter

refactor(streamResponse): for `sendError`, allow passing overrides so that error can include partial generation, improve typing for `sendMessage`

* chore(MessageContent): remove eslint warning for unused `i`, rephrase unfinished message text

* fix(useSSE): avoid invoking cancelHandler if the abort response was 404

* chore(TMessage): remove unnecessary, unused legacy message property `submitting`

* chore(TMessage): remove unnecessary legacy message property `cancelled`

* chore(abortMiddleware): remove unused `errorText` property to avoid confusion
2023-12-30 12:34:23 -05:00
..
plugins refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
schema 🧹fix: Handle Abort Message Edge Cases (#1462) 2023-12-30 12:34:23 -05:00
Balance.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
checkBalance.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
Config.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
Conversation.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
File.js 📸 feat: Gemini vision, Improved Logs and Multi-modal Handling (#1368) 2023-12-16 20:45:27 -05:00
index.js feat: Vision Support + New UI (#1203) 2023-11-21 20:12:48 -05:00
Key.js feat: Accurate Token Usage Tracking & Optional Balance (#1018) 2023-10-05 18:34:10 -04:00
Message.js 🧹fix: Handle Abort Message Edge Cases (#1462) 2023-12-30 12:34:23 -05:00
Preset.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
Prompt.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
Session.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
spendTokens.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
Transaction.js 📸 feat: Gemini vision, Improved Logs and Multi-modal Handling (#1368) 2023-12-16 20:45:27 -05:00
tx.js feat(Google): Support all Text/Chat Models, Response streaming, PaLM -> Google 🤖 (#1316) 2023-12-10 14:54:13 -05:00
tx.spec.js chore: add token rate support for 11/06 models (#1146) 2023-11-06 15:26:16 -05:00
User.js feat: bun api support 🥟 (#1021) 2023-10-07 11:16:06 -04:00