LibreChat/api/server/routes/ask
Danny Avila 40685f6eb4
🚀 refactor: Enhance Custom Endpoints, Message Logic, and Payload Handling (#2895)
* chore: use node-fetch for OpenAIClient fetch key for non-crashing usage of AbortController in Bun runtime

* chore: variable order

* fix(useSSE): prevent finalHandler call in abortConversation to update messages/conversation after user navigated away

* chore: params order

* refactor: organize intermediate message logic and ensure correct variables are passed

* fix: Add stt and tts routes before upload limiters, prevent bans

* fix(abortRun): temp fix to delete unfinished messages to avoid message thread parent relationship issues

* refactor: Update AnthropicClient to use node-fetch for fetch key and add proxy support

* fix(gptPlugins): ensure parentMessageId/messageId relationship is maintained

* feat(BaseClient): custom fetch function to analyze/edit payloads just before sending (also prevents abortController crash on Bun runtime)

* feat: `directEndpoint` and `titleMessageRole` custom endpoint options

* chore: Bump version to 0.6.6 in data-provider package.json
2024-05-28 14:52:12 -04:00
..
addToCache.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
anthropic.js 🎉 feat: Optimizations and Anthropic Title Generation (#2184) 2024-03-23 20:21:40 -04:00
askChatGPTBrowser.js feat: Assistants API, General File Support, Side Panel, File Explorer (#1696) 2024-02-13 20:42:27 -05:00
bingAI.js feat: Assistants API, General File Support, Side Panel, File Explorer (#1696) 2024-02-13 20:42:27 -05:00
custom.js 🛡️ feat: Model Validation Middleware (#1841) 2024-02-19 22:47:39 -05:00
google.js 🛡️ feat: Model Validation Middleware (#1841) 2024-02-19 22:47:39 -05:00
gptPlugins.js 🚀 refactor: Enhance Custom Endpoints, Message Logic, and Payload Handling (#2895) 2024-05-28 14:52:12 -04:00
index.js 💫 feat: Config File & Custom Endpoints (#1474) 2024-01-03 09:22:48 -05:00
openAI.js 🛡️ feat: Model Validation Middleware (#1841) 2024-02-19 22:47:39 -05:00