LibreChat/client/src/hooks/Conversations
Danny Avila 2524d33362
📂 refactor: Cleanup File Filtering Logic, Improve Validation (#10414)
* feat: add filterFilesByEndpointConfig to filter disabled file processing by provider

* chore: explicit define of endpointFileConfig for better debugging

* refactor: move `normalizeEndpointName` to data-provider as used app-wide

* chore: remove overrideEndpoint from useFileHandling

* refactor: improve endpoint file config selection

* refactor: update filterFilesByEndpointConfig to accept structured parameters and improve endpoint file config handling

* refactor: replace defaultFileConfig with getEndpointFileConfig for improved file configuration handling across components

* test: add comprehensive unit tests for getEndpointFileConfig to validate endpoint configuration handling

* refactor: streamline agent endpoint assignment and improve file filtering logic

* feat: add error handling for disabled file uploads in endpoint configuration

* refactor: update encodeAndFormat functions to accept structured parameters for provider and endpoint

* refactor: streamline requestFiles handling in initializeAgent function

* fix: getEndpointFileConfig partial config merging scenarios

* refactor: enhance mergeWithDefault function to support document-supported providers with comprehensive MIME types

* refactor: user-configured default file config in getEndpointFileConfig

* fix: prevent file handling when endpoint is disabled and file is dragged to chat

* refactor: move `getEndpointField` to `data-provider` and update usage across components and hooks

* fix: prioritize endpointType based on agent.endpoint in file filtering logic

* fix: prioritize agent.endpoint in file filtering logic and remove unnecessary endpointType defaulting
2025-11-10 19:05:30 -05:00
..
index.ts 🔍 refactor: Search & Message Retrieval (#6903) 2025-04-16 21:07:43 -04:00
useBookmarkSuccess.ts 🔖 feat: Enhance Bookmarks UX, add RBAC, toggle via librechat.yaml (#3747) 2024-08-22 17:09:05 -04:00
useDebouncedInput.ts 🔧 fix: Apply Mongoose Plugin at Model Creation (#7749) 2025-06-04 23:11:34 -04:00
useDefaultConvo.ts 🎨 feat: UI Refresh for Enhanced UX (#6346) 2025-03-25 18:50:58 -04:00
useExportConversation.ts 🐛 fix: String Interpolation in Messages Endpoint from #9155 (#9312) 2025-08-27 13:48:48 -04:00
useGenerateConvo.ts 📂 refactor: Cleanup File Filtering Logic, Improve Validation (#10414) 2025-11-10 19:05:30 -05:00
useGetSender.ts 🛂 feat: OpenID Logout Redirect to end_session_endpoint (#5626) 2025-02-03 10:53:04 -05:00
useNavigateToConvo.tsx 📂 refactor: Cleanup File Filtering Logic, Improve Validation (#10414) 2025-11-10 19:05:30 -05:00
useParameterEffects.ts 🎨 style: parameters panel update (#4780) 2024-11-22 19:10:03 -05:00
usePresetIndexOptions.ts 🌎 i18n: React-i18next & i18next Integration (#5720) 2025-02-09 12:05:31 -05:00
usePresets.ts 📦 feat: Move Shared Components to @librechat/client (#8685) 2025-07-27 12:19:01 -04:00
useSearchEnabled.ts 🔍 refactor: Search & Message Retrieval (#6903) 2025-04-16 21:07:43 -04:00
useSetIndexOptions.ts 🔧 fix: Enhance Responses API Auto-Enable Logic for Compatible Endpoints (#8506) 2025-07-18 22:27:56 -04:00
useUpdateTagsInConvo.ts 🏷️ chore: Add Missing Localizations for Agents, Categories, Bookmarks (#9266) 2025-08-25 13:54:13 -04:00