LibreChat/client/src/hooks
Danny Avila 953e9732d9
🔧 fix: Chat Middleware, Zod Conversion, Auto-Save and S3 URL Refresh (#6720)
* 🔧 feat: Add configurable S3 URL refresh expiry time

* fix: Set default width and height for URLIcon component in case container style results in NaN

* refactor: Enhance auto-save functionality with debounced restore methods

* feat: Add support for additionalProperties in JSON schema conversion to Zod

* test: Add tests for additionalProperties handling in JSON schema to Zod conversion

* chore: Reorder import statements for better readability in ask route

* fix: Handle additional successful response status code (200) in SSE error handler

* fix: add missing rate limiting middleware for bedrock and agent chat routes

* fix: update moderation middleware to check feature flag before processing requests

* fix: add moderation middleware to chat routes for text moderation

* Revert "refactor: Enhance auto-save functionality with debounced restore methods"

This reverts commit d2e4134d1f.

* refactor: Move base64 encoding/decoding functions to top-level scope and optimize input handling
2025-04-03 20:42:56 -04:00
..
Agents 🚧 chore: merge latest dev build (#4288) 2024-09-30 17:17:57 -04:00
Artifacts 🚀 feat: Artifact Editing & Downloads (#5428) 2025-01-23 18:19:04 -05:00
Assistants 🌎 i18n: React-i18next & i18next Integration (#5720) 2025-02-09 12:05:31 -05:00
Audio 🏄‍♂️ refactor: Optimize Reasoning UI & Token Streaming (#5546) 2025-01-29 19:46:58 -05:00
Chat 🪄 feat: Agent Artifacts (#5804) 2025-02-11 18:00:38 -05:00
Config 🌎 i18n: React-i18next & i18next Integration (#5720) 2025-02-09 12:05:31 -05:00
Conversations 🎨 feat: UI Refresh for Enhanced UX (#6346) 2025-03-25 18:50:58 -04:00
Endpoint 🚀 feat: Use Model Specs + Specific Endpoints, Limit Providers for Agents (#6650) 2025-04-01 03:50:32 -04:00
Files ⚙️ fix: File Config Handling (revisited) (#5881) 2025-02-14 11:37:41 -05:00
Generic 🚧 WIP: Merge Dev Build (#4611) 2024-11-01 18:36:39 -04:00
Input 🔧 fix: Chat Middleware, Zod Conversion, Auto-Save and S3 URL Refresh (#6720) 2025-04-03 20:42:56 -04:00
Messages 🚀 feat: Use Model Specs + Specific Endpoints, Limit Providers for Agents (#6650) 2025-04-01 03:50:32 -04:00
Nav 🔄 fix: Avatar & Error Handling Enhancements (#6687) 2025-04-02 18:44:13 -04:00
Plugins 🎉 feat: Code Interpreter API and Agents Release (#4860) 2024-12-04 15:48:13 -05:00
Prompts 🌍 fix: Enhance i18n Support & Optimize Category Handling (#5866) 2025-02-14 08:30:27 -05:00
Roles 🔗 fix: Shared Link with Markdown Code Error (#6016) 2025-02-24 22:52:54 -05:00
SSE 🔧 fix: Chat Middleware, Zod Conversion, Auto-Save and S3 URL Refresh (#6720) 2025-04-03 20:42:56 -04:00
ApiErrorBoundaryContext.tsx 🌎 i18n: React-i18next & i18next Integration (#5720) 2025-02-09 12:05:31 -05:00
AuthContext.tsx 🔒feat: Enable OpenID Auto-Redirect (#6066) 2025-03-19 09:51:56 -04:00
index.ts 🎨 feat: UI Refresh for Enhanced UX (#6346) 2025-03-25 18:50:58 -04:00
ScreenshotContext.tsx 🚀 fix: Resolve Google Client Issues, CDN Screenshots, Update Models (#5703) 2025-02-06 18:13:18 -05:00
ThemeContext.tsx 🎨 style: Enhance UI/UX for Font Size, Mentions, and Prompts (#3575) 2024-08-08 10:02:30 -04:00
useChatBadges.ts 💬 feat: move Temporary Chat to the Header (#6646) 2025-04-01 03:50:12 -04:00
useDelayedRender.tsx 🕑 fix: Add Suspense to Connection Error Messages (#3074) 2024-06-15 16:16:06 -04:00
useDocumentTitle.ts refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
useGenerationsByLatest.ts 🧹 chore: Remove Deprecated BingAI Code & Address Mobile Focus (#5565) 2025-01-30 17:22:29 -05:00
useLocalize.ts 🌍 fix: Enhance i18n Support & Optimize Category Handling (#5866) 2025-02-14 08:30:27 -05:00
useLocalStorage.tsx refactor: Encrypt & Expire User Provided Keys, feat: Rate Limiting (#874) 2023-09-06 10:46:27 -04:00
useMediaQuery.tsx refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
useNewConvo.ts 💬 feat: move Temporary Chat to the Header (#6646) 2025-04-01 03:50:12 -04:00
useOnClickOutside.ts WIP: Update UI to match Official Style; Vision and Assistants 👷🏽 (#1190) 2023-11-16 10:42:24 -05:00
useScrollToRef.ts feat: Optimize Scroll Handling with Intersection Observer (#3564) 2024-08-06 16:18:15 -04:00
useTimeout.tsx 🔧 fix: URL params, package mismatch, typing, shared link redirect, and o1 (azure) (#4899) 2024-12-07 16:55:17 -05:00
useToast.ts 🔥🚀 feat: CDN (Firebase) & feat: account section (#1438) 2023-12-29 21:42:19 -05:00