Commit Graph

3336 Commits

Author SHA1 Message Date
Marco Beretta
1f548bec17 refactor(translation): update no data messages for consistency 2025-11-12 15:39:59 +01:00
Marco Beretta
4f4e0937f7 refactor(DataTable): update aria-label and ariaLabel to use indexed placeholder for localization 2025-11-12 15:34:02 +01:00
Marco Beretta
7958401979 refactor(DataTable): simplify aria-sort assignment for better readability 2025-11-12 15:32:37 +01:00
Marco Beretta
ab706ecf70 refactor: change button variant from destructive to ghost for delete actions in SharedLinks and ArchivedChats components 2025-11-12 15:16:41 +01:00
Marco Beretta
f490f1a87f chore: remove unused file, bump @librechat/client to 0.3.2; fix(SharedLinks): missing import; 2025-11-12 15:16:41 +01:00
Marco Beretta
ff67edc75c refactor(parsers): change uiResources to a constant and streamline artifacts handling 2025-11-12 15:16:40 +01:00
Marco Beretta
3cb21de1df refactor(translation): remove redundant drag and drop UI text for clarity 2025-11-12 15:16:40 +01:00
Marco Beretta
342656156a refactor(DataTable): simplify search handling by removing unnecessary trimming; adjust column width handling for better responsiveness 2025-11-12 15:16:40 +01:00
Marco Beretta
1968cf55eb refactor(Table): add unwrapped prop for direct table rendering; adjust minWidth calculation for responsiveness 2025-11-12 15:16:40 +01:00
Marco Beretta
334b5f8853 chore(DataTable): comments update 2025-11-12 15:16:40 +01:00
Marco Beretta
c0d371a24c refactor(DataTable): enhance accessibility with row header support and improve column visibility handling 2025-11-12 15:16:40 +01:00
Marco Beretta
c5a0bc6298 refactor(DataTable): improve column width handling and responsiveness; disable row selection 2025-11-12 15:16:40 +01:00
Marco Beretta
1b2006af12 refactor: enhance UI components with improved class handling and state management 2025-11-12 15:16:40 +01:00
Marco Beretta
ccb378c903 refactor(DataTable): improve column sizing and visibility handling; remove deprecated features 2025-11-12 15:16:40 +01:00
Marco Beretta
e7b209ee09 refactor(DataTableErrorBoundary): enhance error handling and localization support 2025-11-12 15:16:40 +01:00
Marco Beretta
7eff895121 refactor(DataTable): enhance virtualization and scrolling performance with dynamic overscan adjustments 2025-11-12 15:16:40 +01:00
Marco Beretta
2872058dcf refactor(translation): remove outdated error messages and unused UI strings for cleaner localization 2025-11-12 15:16:40 +01:00
Marco Beretta
caadc4e85d refactor(DataTable): remove unnecessary role and tabindex attributes from select all button for improved accessibility 2025-11-12 15:16:40 +01:00
Marco Beretta
9a4e657fcd refactor: improve padding in dialog content and enhance row selection functionality in ArchivedChats and DataTable components 2025-11-12 15:16:40 +01:00
Marco Beretta
d2299b86ec refactor(DataTable): enhance accessibility features and improve localization for selection and loading states 2025-11-12 15:16:40 +01:00
Marco Beretta
cd85162076 refactor(DataTable): optimize processed data handling and improve warning for missing IDs; streamline DataTableComponents imports 2025-11-12 15:16:40 +01:00
Marco Beretta
ccad6db7c5 refactor(DataTable): enhance type definitions for processed data rows and update custom actions renderer type 2025-11-12 15:16:40 +01:00
Marco Beretta
ee91891e20 refactor(DataTable): streamline column visibility logic and enhance type definitions; improve cleanup timers and optimize rendering 2025-11-12 15:16:40 +01:00
Marco Beretta
0ebe96f47e refactor: comment out desktopOnly property in SharedLinks and ArchivedChats components; update translation.json with new keys for link actions 2025-11-12 15:16:40 +01:00
Marco Beretta
2f532ea8d3 refactor(Artifacts): enhance button toggle functionality and manage expanded state with useEffect 2025-11-12 15:16:40 +01:00
Marco Beretta
1c612ba364 refactor: improve styling and animations in Artifacts, ArtifactsSubMenu, and MCPSubMenu components; update border-radius in style.css 2025-11-12 15:16:40 +01:00
Marco Beretta
df16406401 refactor: reorganize imports in DataTable components and update index exports 2025-11-12 15:16:40 +01:00
Marco Beretta
2a9295ba0c fix: ensure desktopOnly columns are hidden on mobile in DataTable 2025-11-12 15:16:40 +01:00
Marco Beretta
6e47b8800f refactor: update SharedLinks and ArchivedChats to use desktopOnly instead of hideOnMobile; remove unused DataTableColumnHeader component 2025-11-12 15:16:40 +01:00
Marco Beretta
0396dd7e78 feat(DataTable): Implement new DataTable component with hooks and optimized features
- Added DataTable component with support for virtual scrolling, row selection, and customizable columns.
- Introduced hooks for debouncing search input, managing row selection, and calculating column styles.
- Enhanced accessibility with keyboard navigation and selection checkboxes.
- Implemented skeleton loading state for better user experience during data fetching.
- Added DataTableSearch component for filtering data with debounced input.
- Created utility logger for improved debugging in development.
- Updated translations to support new UI elements and actions.
2025-11-12 15:16:40 +01:00
Marco Beretta
7a5996871c refactor: DataTable and ArchivedChats; fix: sorting ArchivedChats API 2025-11-12 15:16:40 +01:00
Marco Beretta
ee00dcdb60 feat: enhance deepEqual function for array support and improve column style stability 2025-11-12 15:16:40 +01:00
Marco Beretta
507bfb5989 feat: enhance DataTable with column pinning and improve sorting functionality 2025-11-12 15:16:39 +01:00
Marco Beretta
c2e0ed8ad6 feat: polish and redefine DataTable + shared links and archived chats 2025-11-12 15:16:39 +01:00
Marco Beretta
61daedc9df fix: TS issues 2025-11-12 15:16:37 +01:00
Marco Beretta
87f31c1dbd feat: Update DataTable component to streamline props and enhance sorting icons 2025-11-12 15:07:56 +01:00
Marco Beretta
ab74ce262e Refactor Chat Input File Table Headers to Use SortFilterHeader Component
- Replaced button-based sorting headers in the Chat Input Files Table with a new SortFilterHeader component for better code organization and consistency.
- Updated the header for filename, updatedAt, and bytes columns to utilize the new component.

Enhance Navigation Component with Skeleton Loading States

- Added Skeleton loading states to the Nav component for better user experience during data fetching.
- Updated Suspense fallbacks for AgentMarketplaceButton and BookmarkNav components to display Skeletons.

Refactor Avatar Component for Improved UI

- Enhanced the Avatar component by adding a Label for drag-and-drop functionality.
- Improved styling and structure for the file upload area.

Update Shared Links Component for Better Error Handling and Sorting

- Improved error handling in the Shared Links component for fetching next pages and deleting shared links.
- Simplified the header rendering for sorting columns and added sorting functionality to the title and createdAt columns.

Refactor Archived Chats Component

- Merged ArchivedChats and ArchivedChatsTable components into a single ArchivedChats component for better maintainability.
- Implemented sorting and searching functionality with debouncing for improved performance.
- Enhanced the UI with better loading states and error handling.

Update DataTable Component for Sorting Icons

- Added sorting icons (ChevronUp, ChevronDown, ChevronsUpDown) to the DataTable headers for better visual feedback on sorting state.

Localization Updates

- Updated translation.json to fix missing translations and improve existing ones for better user experience.
2025-11-12 15:07:56 +01:00
Marco Beretta
0cd45d24fc fix: Correct pluralization in selected items message in translation.json 2025-11-12 15:07:56 +01:00
Marco Beretta
e32bd14c89 🎨 feat: Enhance Import Conversations UI with loading state and new localization key 2025-11-12 15:07:56 +01:00
Danny Avila
09c309bc78 📞 fix: Model End Callback and Streamline Client Cleanup (#10438)
* fix: update agent context handling in ModelEndHandler due to new MultiAgentGraph

* refactor: streamline client cleanup process by utilizing property arrays for potential circular reference removal
2025-11-10 13:50:17 -05:00
Danny Avila
360ec22964 ⚗️ refactor: Provider File Validation with Configurable Size Limits (#10405)
* chore: correct type for ServerRequest

* chore: improve ServerRequest typing across several modules

* feat: Add PDF configured limit validation

- Introduced comprehensive tests for PDF validation across multiple providers, ensuring correct behavior for file size limits and edge cases.
- Enhanced the `validatePdf` function to accept an optional configured file size limit, allowing for stricter validation based on user configurations.
- Updated related functions to utilize the new validation logic, ensuring consistent behavior across different providers.

* chore: Update Request type to ServerRequest in audio and video encoding modules

* refactor: move `getConfiguredFileSizeLimit` utility

* feat: Add video and audio validation with configurable size limits

- Introduced `validateVideo` and `validateAudio` functions to validate media files against provider-specific size limits.
- Enhanced validation logic to consider optional configured file size limits, allowing for more flexible file handling.
- Added comprehensive tests for video and audio validation across different providers, ensuring correct behavior for various scenarios.

* refactor: Update PDF and media validation to allow higher configured limits

- Modified validation logic to accept user-configured file size limits that exceed provider defaults, ensuring correct acceptance of files within the specified range.
- Updated tests to reflect changes in validation behavior, confirming that files are accepted when within the configured limits.
- Enhanced documentation in tests to clarify expected outcomes with the new validation rules.

* chore: Add @types/node-fetch dependency to package.json and package-lock.json

- Included the @types/node-fetch package to enhance type definitions for node-fetch usage.
- Updated package-lock.json to reflect the addition of the new dependency.

* fix: Rename FileConfigInput to TFileConfig
2025-11-07 10:57:15 -05:00
github-actions[bot]
625a321cc1 🌍 i18n: Update translation.json with latest translations (#10397)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-07 10:28:56 -05:00
Danny Avila
ba71375982 🗑️ fix: Delete Shared Links on Conversation Deletion (#10396)
*  feat: Enhance DELETE /all endpoint to remove shared links alongside conversations and tool calls

- Added functionality to delete all shared links for a user when clearing conversations.
- Introduced comprehensive tests to ensure correct behavior and error handling for the new deletion process.

*  feat: Implement deleteConvoSharedLink method and update conversation deletion logic to remove associated shared links
2025-11-06 11:44:28 -05:00
github-actions[bot]
c6611d4e77 🌍 i18n: Update translation.json with latest translations (#10380)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-06 08:24:24 -05:00
Danny Avila
8124344c51 🌐 chore: Update tool type from web_search_preview to web_search for OpenAI (#10379) 2025-11-05 21:24:16 -05:00
Danny Avila
667e78c51e 📦 chore: Remove @langchain/community & Related Legacy Code (#10375)
* chore: remove `@langchain/community` dependency

* refactor: remove SerpAPI integration and update related imports

* chore: remove legacy code with unnecessary dependencies

* chore: cleanup packages

* chore: cleanup packages

* chore: update openai dependency version to 5.10.1

* chore: add back @librechat/agents dependency

* chore: downgrade openai dependency from 5.10.1 to 5.8.2

* Remove dependency on @librechat/agents from the API package

* chore: add @librechat/agents dependency to the API package

* fix: add useLegacyContent property to RunAgent type and propagate it in createRun function

* chore: remove openai dependency version 5.10.1 from package.json
2025-11-05 19:24:36 -05:00
Danny Avila
8a4a5a4790 🤖 feat: Agent Handoffs (Routing) (#10176)
* feat: Add support for agent handoffs with edges in agent forms and schemas

chore: Mark `agent_ids` field as deprecated in favor of edges across various schemas and types

chore: Update dependencies for @langchain/core and @librechat/agents to latest versions

chore: Update peer dependency for @librechat/agents to version 3.0.0-rc2 in package.json

chore: Update @librechat/agents dependency to version 3.0.0-rc3 in package.json and package-lock.json

feat: first pass, multi-agent handoffs

fix: update output type to ToolMessage in memory handling functions

fix: improve type checking for graphConfig in createRun function

refactor: remove unused content filtering logic in AgentClient

chore: update @librechat/agents dependency to version 3.0.0-rc4 in package.json and package-lock.json

fix: update @langchain/core peer dependency version to ^0.3.72 in package.json and package-lock.json

fix: update @librechat/agents dependency to version 3.0.0-rc6 in package.json and package-lock.json; refactor stream rate handling in various endpoints

feat: Agent handoff UI

chore: update @librechat/agents dependency to version 3.0.0-rc8 in package.json and package-lock.json

fix: improve hasInfo condition and adjust UI element classes in AgentHandoff component

refactor: remove current fixed agent display from AgentHandoffs component due to redundancy

feat: enhance AgentHandoffs UI with localized beta label and improved layout

chore: update @librechat/agents dependency to version 3.0.0-rc10 in package.json and package-lock.json

feat: add `createSequentialChainEdges` function to add back agent chaining via multi-agents

feat: update `createSequentialChainEdges` call to only provide conversation context between agents

feat: deprecate Agent Chain functionality and update related methods for improved clarity

* chore: update @librechat/agents dependency to version 3.0.0-rc11 in package.json and package-lock.json

* refactor: remove unused addCacheControl function and related imports and import from @librechat/agents

* chore: remove unused i18n keys

* refactor: remove unused format export from index.ts

* chore: update @librechat/agents to v3.0.0-rc13

* chore: remove BEDROCK_LEGACY provider from Providers enum

* chore: update @librechat/agents to version 3.0.2 in package.json
2025-11-05 17:15:17 -05:00
github-actions[bot]
958a6c7872 🌍 i18n: Update translation.json with latest translations (#10370)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-05 11:09:52 -05:00
Danny Avila
0f4222a908 🪞 fix: Prevent Revoked Blob URLs in Uploaded Images (FileRow) (#10361) 2025-11-05 10:28:06 -05:00
Rakshit
772b706e20 🎙️ fix: Azure OpenAI Speech-to-Text 400 Bad Request Error (#10355) 2025-11-05 10:27:34 -05:00