LibreChat/client/src/hooks/Conversations
Danny Avila 3c54740074
🪦 refactor: Remove Legacy Code (#10533)
* 🗑️ chore: Remove unused Legacy Provider clients and related helpers

* Deleted OpenAIClient and GoogleClient files along with their associated tests.
* Removed references to these clients in the clients index file.
* Cleaned up typedefs by removing the OpenAISpecClient export.
* Updated chat controllers to use the OpenAI SDK directly instead of the removed client classes.

* chore/remove-openapi-specs

* 🗑️ chore: Remove unused mergeSort and misc utility functions

* Deleted mergeSort.js and misc.js files as they are no longer needed.
* Removed references to cleanUpPrimaryKeyValue in messages.js and adjusted related logic.
* Updated mongoMeili.ts to eliminate local implementations of removed functions.

* chore: remove legacy endpoints

* chore: remove all plugins endpoint related code

* chore: remove unused prompt handling code and clean up imports

* Deleted handleInputs.js and instructions.js files as they are no longer needed.
* Removed references to these files in the prompts index.js.
* Updated docker-compose.yml to simplify reverse proxy configuration.

* chore: remove unused LightningIcon import from Icons.tsx

* chore: clean up translation.json by removing deprecated and unused keys

* chore: update Jest configuration and remove unused mock file

    * Simplified the setupFiles array in jest.config.js by removing the fetchEventSource mock.
    * Deleted the fetchEventSource.js mock file as it is no longer needed.

* fix: simplify endpoint type check in Landing and ConversationStarters components

    * Updated the endpoint type check to use strict equality for better clarity and performance.
    * Ensured consistency in the handling of the azureOpenAI endpoint across both components.

* chore: remove unused dependencies from package.json and package-lock.json

* chore: remove legacy EditController, associated routes and imports

* chore: update banResponse logic to refine request handling for banned users

* chore: remove unused validateEndpoint middleware and its references

* chore: remove unused 'res' parameter from initializeClient in multiple endpoint files

* chore: remove unused 'isSmallScreen' prop from BookmarkNav and NewChat components; clean up imports in ArchivedChatsTable and useSetIndexOptions hooks; enhance localization in PromptVersions

* chore: remove unused import of Constants and TMessage from MobileNav; retain only necessary QueryKeys import

* chore: remove unused TResPlugin type and related references; clean up imports in types and schemas
2025-12-04 14:34:44 -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: Improve Error Handling and Null Safety in SSE Event Processing (#10751) 2025-12-01 14:05:50 -05: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 🪦 refactor: Remove Legacy Code (#10533) 2025-12-04 14:34:44 -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 🪦 refactor: Remove Legacy Code (#10533) 2025-12-04 14:34:44 -05:00
useUpdateTagsInConvo.ts 🏷️ chore: Add Missing Localizations for Agents, Categories, Bookmarks (#9266) 2025-08-25 13:54:13 -04:00