Commit graph

15,642 commits

Author SHA1 Message Date
Lilko Petkov
58b9551758
feat: Enable SSL flags for local development (#7060)
* ssl-support: Enable SSL for local development to simulate a production-like environment. This would allow testing features requiring SSL during development, third party integrations, and allowing easier SSL integration without WAFs and reverse proxies

* rebase

* rebase fixes

---------

Co-authored-by: lpetkov <lpetkov@pros.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: Jordan Frazier <122494242+jordanrfrazier@users.noreply.github.com>
Co-authored-by: Jordan Frazier <jordan.frazier@datastax.com>
2025-04-10 18:12:04 +00:00
jeevi cao
3fccfd75ed
feat: frontend docker nginx configuration add brower cache accelerated pages access (#7125)
* Update py_autofix.yml

* feat: frontend docker nginx  add brower cache accelerate page access

* Revert "Update py_autofix.yml"

This reverts commit 7aed45e98602f57c2d6d33532080bad30cf02507.

* revert py_autofix.yml

* Revert "Update py_autofix.yml"

This reverts commit 7aed45e98602f57c2d6d33532080bad30cf02507.

* add: remove blank line

* fix: update Nginx configuration to prevent caching for index.html

---------

Co-authored-by: tianzhipeng <tzpabc@gmail.com>
Co-authored-by: caojianwei-jk <caojianwei-jk@360shuke.com>
2025-04-10 17:57:41 +00:00
Gabriel Luiz Freitas Almeida
4173656c89
fix: Update type hints in BatchRunComponent to avoid lint errors (#7567)
* fix: update type hints in BatchRunComponent for improved clarity and consistency

* fix: add type casting in BatchRunComponent for improved type safety

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-10 17:23:40 +00:00
Gabriel Luiz Freitas Almeida
4953227391
chore: Update Makefile to include PostgreSQL in backend installation (#7561)
fix: update Makefile to include 'postgresql' in backend installation command
2025-04-10 17:23:24 +00:00
Jeffrey Carpenter
dff2606fa0
feat: add multi-file support and rename NVIDIA Ingest to NeMo Retriever Extraction (#7495)
* nv-ingest multi-file support

* [autofix.ci] apply automated fixes

* fix linter error

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-10 16:13:23 +00:00
Cristhian Zanforlin Lousa
eb814b29c0
fix: remove unecessary comment from build_flow (#7563)
♻️ (chat.py): remove unused settings_service parameter from the build_flow function signature to clean up the code and improve readability
2025-04-10 16:01:42 +00:00
Gabriel Luiz Freitas Almeida
077110a496
fix: published flows now can add rows to the database (#7560)
* fix: add File model to module exports in database models

* fix: remove unused relationships and imports in database models

* fix: remove foreign key constraints from message, transaction, and vertex_build tables
2025-04-10 15:37:12 +00:00
Abhishek Patil
e8cf155488
chore: Composio version bump (#7557)
chore: composio version bump
2025-04-10 14:46:03 +00:00
saber-wang
cf165953f1
fix: endpoint build_public_tmp now supports event delivery type direct (#7526)
* fix the issue where `build_public_tmp` does not support `EVENT_DELIVERY=direct`

* fix: modify `build_public_tmp` to conform to the latest design

* [autofix.ci] apply automated fixes

* fix: Delete debugging logs

* fix: Delete debugging logs

* fix: Delete debugging logs

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-04-10 14:28:55 +00:00
Rodrigo Nader
67009190cd
refactor: update BatchRunComponent to enhance functionality and usability (#7318)
* refactor: update BatchRunComponent to enhance functionality and usability

- Added TOML formatting for rows when no specific column is set.
- Updated display names and descriptions for clarity.
- Introduced an output column name option for customizable model response storage.
- Improved metadata handling and error management.
- Refactored row creation to include original columns and enhanced metadata.

* [autofix.ci] apply automated fixes

* fix: ruff errors

* [autofix.ci] apply automated fixes

* fix: component tests

* [autofix.ci] apply automated fixes

* Update src/backend/base/langflow/components/helpers/batch_run.py

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* ♻️ (batch_run.py): refactor type annotations to use Hashable for dictionary keys to improve type safety and compatibility with different types of keys

* youtube fix

* 🔧 (batch_run.py): remove unnecessary StrInput import and update MessageTextInput import to improve code cleanliness and remove redundancy

* 📝 (batch_run.py): Update import statement to include Hashable from collections.abc for better readability and maintainability
📝 (Youtube Analysis.json): Update display name from "Batch Results" to "DataFrame" for better clarity and consistency

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* uv ruff fixes

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Cristhian Zanforlin Lousa <cristhian.lousa@gmail.com>
Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
2025-04-10 13:37:15 +00:00
Lucas Oliveira
404e04989a
feat: adds new queryInput with separator and dialog (#7458)
* Add Query Input and Mixin on backend

* Adds Query on supported types

* Adds types for query modal and component

* Adds size for new query modal

* Adds query modal

* Adds query component

* Adds query component on parameter render

* [autofix.ci] apply automated fixes

*  (switch-case-size.ts): Update height value to 'h-fit' for 'small-query' case to improve responsiveness
 (queryInputComponent.spec.ts): Add unit test for user interaction with query input component, including updating code and testing functionality

* Fixed handle not working on Query Input

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-04-10 13:04:54 +00:00
Cristhian Zanforlin Lousa
6f259c6bee
fix: add conditional authorization header for dslf in curl commands (#7457)
*  (get-curl-code.tsx): add support for ENABLE_DATASTAX_LANGFLOW feature flag to include Authorization header in curl command if flag is enabled

* 🐛 (get-curl-code.tsx): fix conditional logic for adding x-api-key header in curl command to correctly handle authentication status

---------

Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
2025-04-10 10:05:43 +00:00
Cristhian Zanforlin Lousa
92bd92b1eb
fix: Improve Dropdown component handling of custom values and add regression test (#7486)
*  (frontend): Add handleOnNewValue prop to Dropdown component to allow selecting a value not in the list
🔧 (frontend): Remove TODO comment and keep handleOnNewValue prop in DropdownComponent
 (frontend): Add test for selecting a value not in the list in Dropdown component

* 🐛 (dropdownComponent/index.tsx): fix issue where custom value was not being added to validOptions and filteredOptions when pressing Enter
 (dropdownComponent/index.tsx): improve functionality to reset filtered options and custom value input when opening the dropdown

* 🔧 (dropdownComponent/index.tsx): improve styling and layout of dropdown component for better user experience

* ♻️ (dropdownComponent/index.tsx): remove unnecessary comments and improve code readability by removing redundant comments and separating render helper functions from logic blocks.

* 📝 (dropdownComponent/index.tsx): add 'no-focus-visible' class to dropdown component to remove focus outline for better accessibility
📝 (applies.css): add styles for 'no-focus-visible' class to remove focus outline for better accessibility
2025-04-10 10:05:29 +00:00
Edwin Jose
7dd75a658c
fix: removing redundant initialisations in composio components (#7485)
removing redundant initialisations
2025-04-10 07:28:46 +00:00
Mendon Kissling
24a052f70c
fix: update Google Analytics tracking ID in docusaurus configuration (#7539)
* fix: update Google Analytics tracking ID in docusaurus configuration

* empty-commit
2025-04-09 23:17:56 +00:00
Mendon Kissling
ab324e5eb9
docs: decrease leftnav spacing (#7532)
* add-coles-sidebar-fix

* menu-spacing

* Changed sidebar-ad from sticky to fixed positioning
2025-04-09 21:26:39 +00:00
Cristhian Zanforlin Lousa
34f00a7f9e
feat: Disable inspect button for empty node outputs (#7528)
🔧 (NodeOutputfield/index.tsx): refactor useMemo hook to check for empty output messages in the flowPoolNode data
🔧 (NodeOutputfield/index.tsx): refactor disabledInspectButton logic to include check for empty output messages

Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
2025-04-09 20:56:04 +00:00
Cristhian Zanforlin Lousa
b1e6881fd2
fix: add conditional authorization header for dslf in curl commands (#7457)
*  (get-curl-code.tsx): add support for ENABLE_DATASTAX_LANGFLOW feature flag to include Authorization header in curl command if flag is enabled

* 🐛 (get-curl-code.tsx): fix conditional logic for adding x-api-key header in curl command to correctly handle authentication status

---------

Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
2025-04-09 20:47:33 +00:00
Cristhian Zanforlin Lousa
b2c74173b5
Fix: Prevent Error Popups When Session Expires During Logout (#7455)
🔧 (use-get-refresh-flows-query.ts, use-get-refresh-flows.ts): Add check for AxiosError status to handle specific error case and set error message accordingly.
2025-04-09 20:45:27 +00:00
Cristhian Zanforlin Lousa
823b9448d3
Fix: Add ENABLE_IMAGE_ON_PLAYGROUND feature flag to control image upload functionality in playground environment (#7490)
 (frontend): introduce ENABLE_IMAGE_ON_PLAYGROUND feature flag to control image functionality on playground
📝 (frontend): update feature-flags.ts to include ENABLE_IMAGE_ON_PLAYGROUND flag
🔧 (frontend): update input-wrapper.tsx, use-drag-and-drop.ts, and chat-view.tsx to conditionally enable image functionality based on ENABLE_IMAGE_ON_PLAYGROUND flag

Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
2025-04-09 20:19:19 +00:00
Gabriel Luiz Freitas Almeida
0185f74276
fix: job id should be returned only if event_delivery is not direct (#7540) 2025-04-09 16:13:42 -03:00
Cristhian Zanforlin Lousa
59a7440045
fix: Resolve event delivery configuration header passing between frontend and backend (#7514)
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-09 14:58:11 -03:00
cristhianzl
467ae9e34f (tabComponent/index.tsx): add data-testid attribute with dynamic value for better testing capabilities
 (mcp-server.spec.ts): add end-to-end test for changing mode of MCP server without issues
2025-04-09 11:29:22 -03:00
Mendon Kissling
8a1b64ed77
docs: gtag management (#7491)
* remove-tag-manager

* update-gtag-tracking-id

* add-head-tag

* remove Google Analytics gtag configuration from docusaurus.config.js

* fix-hydration-error

* revert-to-easy-way

* standard-gtag

* broken-link

* refactor: streamline Google Tag Manager script configuration in docusaurus.config.js

* Apply suggestions from code review

Co-authored-by: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com>

---------

Co-authored-by: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com>
2025-04-08 17:16:45 +00:00
Edwin Jose
098937b7df
feat: update groq models (#7488)
update groq Models

Tested curated list of latest models
2025-04-08 16:33:59 +00:00
Gabriel Luiz Freitas Almeida
4792e569f0
tests: add "direct" event delivery method in tests (#7436)
* feat: implement direct event delivery method on the frontend

- Updated buildFlow function to include eventDelivery parameter, allowing for "direct" event delivery mode.
- Modified NodeStatus and IOModal components to utilize the new eventDelivery setting.
- Expanded flowStore and buildUtils to support event delivery options, improving flexibility in event handling.
- Added "direct" option to event delivery types in enums for better configurability.
- Updated tests to cover new event delivery modes.

* Update src/frontend/src/controllers/API/api.tsx

* Update src/frontend/src/utils/buildUtils.ts

* refactor: remove "direct" from event delivery modes in tests

- Updated the event delivery modes in the withEventDeliveryModes utility to exclude "direct", aligning with recent changes in event handling behavior.
- This change simplifies the testing setup and ensures consistency with the current application logic.

* feat: add "direct" to event delivery modes in tests

- Expanded the event delivery modes in the withEventDeliveryModes utility to include "direct", enhancing the testing coverage for this delivery method.
- This update ensures that tests reflect the latest event handling capabilities and improves the robustness of the testing framework.

---------

Co-authored-by: Cristhian Zanforlin Lousa <cristhian.lousa@gmail.com>
2025-04-08 13:13:03 +00:00
dependabot[bot]
1c7871a63c
build(deps): bump estree-util-value-to-estree from 3.3.2 to 3.3.3 in /docs (#7496)
build(deps): bump estree-util-value-to-estree in /docs

Bumps [estree-util-value-to-estree](https://github.com/remcohaszing/estree-util-value-to-estree) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/remcohaszing/estree-util-value-to-estree/releases)
- [Commits](https://github.com/remcohaszing/estree-util-value-to-estree/compare/v3.3.2...v3.3.3)

---
updated-dependencies:
- dependency-name: estree-util-value-to-estree
  dependency-version: 3.3.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-04-08 12:18:55 +00:00
Ronnie Miller
7f42a5be36
docs: avoid building docs draft for pull requests from fork (#7493) 2025-04-07 15:01:20 -07:00
Mendon Kissling
eb4e6ae87e
docs: clean up configuration folder (#7426)
* remove-config-pages

* redirect-and-remove-from-sidebars

* add-note-about-backend-only

* redirects-and-sidebar

* fix-plaintext-linting-errors

* cli-page
2025-04-07 21:10:09 +00:00
Lucas Oliveira
a2c5090c7a
feat: adds pan and pinch nav mode like figma (#7410)
* Adds Figma pan modes

* Added selection on drag

* Changed multi selection key code to shift

* Changed tests to have correct modifiers
2025-04-07 19:15:57 +00:00
Lucas Oliveira
ced8d6d8e5
fix: removed file uploaded successfully message when no file is picked, fixed nvidia ingest message (#7441)
* Removed msg from nvidia_ingest

* Added default file picker timeout

* Use bigger timeout for file picker

* Added condition to only say that file was uploaded successfully if there are files
2025-04-07 19:15:55 +00:00
Lucas Oliveira
73302a0a1d
fix: removed cleaning edges where input with same type is hidden (#7479)
Removed function that cleaned edges if another input with the same type is hidden
2025-04-07 19:15:52 +00:00
Gabriel Luiz Freitas Almeida
eeb443bdc1
fix: Improve error handling for NVIDIA model component (#7484)
fix: ignore ConnectionError in  NVIDIA model component in case there's no internet connection

- Added logging for connection issues when accessing the NVIDIA API.
- Implemented exception handling for ConnectionError, MaxRetryError, and NameResolutionError to improve robustness and user feedback.
2025-04-07 18:40:50 +00:00
Mendon Kissling
cde01b3696
docs: add langflow desktop to install page (#7386)
* install-instructions

* numbering

* url

* get-started

* Apply suggestions from code review

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>

* version-management

* order-and-style

* introduction-and-admonition

* space

* docs: update installation guide to reflect removal of cloud hosted service option

---------

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
2025-04-07 18:16:40 +00:00
Lucas Oliveira
e5df14875b
feat: put Shareable Playground under ENABLE_PUBLISH feature flag and removed old publish (#7482)
* Removed old toolbar

* Add enable_publish check before showing Shareable Playground

* Removed enable_publish condition on play button

* Removed enable_publish condition on playground title

* Removed unused import
2025-04-07 17:09:02 +00:00
Cristhian Zanforlin Lousa
7a7c8a14df
feat: Display flow logs timestamps in local time zone (#7477)
⬆️ (frontend): upgrade moment-timezone dependency to version 0.5.48
 (frontend): add new utility function convertUTCToLocalTimezone to convert UTC timestamps to local timezone in flowLogsModal and utils files
2025-04-07 14:47:50 +00:00
Mendon Kissling
ac8464cdb2
docs: clean up starter flows and screenshots (#7428)
* quickstart-use-parser

* update-screenshots

* blog-writer

* document-qa

* remove-math-agent-and-redirect

* other-starter-flows

* swap-message-history-and-message-store

* link

* prerequisite-language

* Apply suggestions from code review

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>

* docs: update prerequisite phrasing for clarity

* add-running-instance-to-quickstart

* bullets

* quickstart-spacing

---------

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
2025-04-07 14:31:48 +00:00
Christophe Bornet
66996868fd
feat: Add configurable polling interval for syncing flows from FS (#7065)
* Add configurable polling interval for syncing flows from FS

* Update src/backend/base/langflow/services/settings/base.py

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-04-07 13:49:05 +00:00
github-actions[bot]
6e9df0b68f
chore: update test durations (#7469)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2025-04-07 09:10:35 -03:00
Lucas Oliveira
6e38033a95
fix: publish button not redirecting to right path (#7439)
* Added custom link to shareable playground

* Added correct tooltip to Shareable Playground button

* Fix typo
2025-04-04 21:17:23 +00:00
Gustavo Costa
1cb2e0684b
fix: add ENV to Dockerfile when packing flows to image (#7454)
* add ENV to Dockerfile

* 📝 (deployment-docker.md): Update formatting and indentation for better readability and consistency in the deployment Docker documentation.

---------

Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-04-04 19:11:45 +00:00
Cristhian Zanforlin Lousa
8e31fc5a8a
chore: bump langflow and langflow-base for 1.3.2 release (#7434)
upgrade langflow 1.3.2
2025-04-03 18:49:22 -03:00
Gabriel Luiz Freitas Almeida
d9ab4458ad
fix: add direct event delivery option but keep polling as default (#7435)
* feat: add new event delivery method "direct"

- Updated event_delivery options in ConfigResponse and Settings to include "direct".
- Modified build_flow function to utilize settings_service for conditional event handling.
- Improved flow processing by returning job_id or event responses based on delivery method.

* feat: implement direct event delivery method on the frontend

- Updated buildFlow function to include eventDelivery parameter, allowing for "direct" event delivery mode.
- Modified NodeStatus and IOModal components to utilize the new eventDelivery setting.
- Expanded flowStore and buildUtils to support event delivery options, improving flexibility in event handling.
- Added "direct" option to event delivery types in enums for better configurability.
- Updated tests to cover new event delivery modes.

* fix: change default event delivery method to "polling"

- Updated the default value of event_delivery in Settings from "direct" to "polling" to align with intended behavior.
- Ensured documentation reflects the change in default settings for clarity on event delivery options.

* Update src/frontend/src/controllers/API/api.tsx

* Update src/frontend/src/utils/buildUtils.ts

* Update src/frontend/src/utils/buildUtils.ts

* Update src/frontend/src/utils/buildUtils.ts

* feat: add event delivery validation for multi-worker environments

- Introduced a new field validator for the `event_delivery` setting to enforce "direct" delivery when the number of workers exceeds one.
- This change ensures compatibility with multi-worker setups, improving the robustness of event handling in the application.

* feat: add warning for multi-worker event delivery

- Added a warning log in the Settings class to notify users when a multi-worker environment is detected, indicating that "direct" event delivery will be used. This enhances visibility and understanding of event handling behavior in such setups.

* refactor: remove "direct" from event delivery modes in tests

- Updated the event delivery modes in the withEventDeliveryModes utility to exclude "direct", aligning with recent changes in event handling behavior.
- This change simplifies the testing setup and ensures consistency with the current application logic.

---------

Co-authored-by: Cristhian Zanforlin Lousa <cristhian.lousa@gmail.com>
2025-04-03 21:05:39 +00:00
Edwin Jose
8b4cf7b1db
feat: Composio Gmail component and AuthInput feature (#7364)
* old composio Gmail component

* Update gmail_composio.py

* [autofix.ci] apply automated fixes

* Removed input types from secret input

* Changed starter projects

* Update gmail_composio.py

* composio base

* [autofix.ci] apply automated fixes

* updated composio with multi output

* [autofix.ci] apply automated fixes

* fix lint errors

* [autofix.ci] apply automated fixes

* Added sortableList and connect to frontend types constant

* Added AuthInput to backend and frontend constant

* Added auth input to InputTypes and added show = false by default

* fix: Update Composio icon (#7407)

fix: update Composio icon dimensions and simplify SVG structure

* Fix amber color

* Fix button and voice assistant button to use correct design and colors

* Fixed button design to include bg

* remove bg definition from voice assistant

* Added auth input to composio base

* Added helper text to sortable list

* Add unlink icon

* Add node connection button

* Changed to isPolling

* [autofix.ci] apply automated fixes

* Added auth tooltip

* Added auth tooltip to mixinn

* Add auth mixin to input

* update the field visibility

* Fixed disconnect

* Update composio_base.py

* Updated node status to show correct statuses

* Added handling for API errors and disconnections

* limit to dataframe output

* add basic tests for base and gmail component

* fix lint errors

* 📝 (test files): Remove unnecessary blank lines to improve code readability and consistency.

* Add result_field to GMAIL_FETCH_EMAILS action and change how result key is used

* fix: Add validation for result structure in ComposioGmailAPIComponent

* fix: Ensure result is a list of dicts before converting to DataFrame in ComposioBaseComponent

* feat: Introduce get_result_field option for Gmail actions to control result retrieval behavior

* Fixed status not updating in real time

* Added default API value to Composio

* Made sortableList only be openable if no helper text is present

* fix: Update validation logic in ComposioGmailAPIComponent to incorporate get_result_field option for improved result handling

* Fixed bug where pre-filled Global Variable didn't trigger login

* refactor: Remove commented-out output definitions in ComposioBaseComponent for cleaner code

* refactor: Clean up ComposioGmailAPIComponent by removing outdated comments for improved readability

*  (NodeStatus/index.tsx): refactor getConnectionButtonClasses and getConnectionIconClasses functions to improve code readability and maintainability

* ♻️ (NodeStatus/index.tsx): refactor getConnectionButtonClasses and getConnectionIconClasses functions to use arrow function syntax for better readability and maintainability

* 🔧 (NodeStatus/index.tsx): define constants POLLING_TIMEOUT and POLLING_INTERVAL for better readability and maintainability

*  (ListSelectionComponent): Add dataTestId prop to ListItem component for better testing
📝 (NodeStatus): Refactor data-testid value to be dynamically generated based on node status
📝 (searchBarComponent): Add data-testid attribute to search input for testing purposes
📝 (sortableListComponent): Add data-testid attribute to button for opening list selection
♻️ (utils.ts): Add testIdCase function to convert string to snake_case for test ids
📝 (composio.spec.ts): Add various test cases for interacting with composio component

*  (test_gmail.py): add MagicMock import to fix missing dependency for testing
🔧 (test_gmail.py): refactor execute_action method to return a structure compatible with component's logic
♻️ (test_gmail.py): refactor _build_wrapper method to return a mock for the toolset
 (test_gmail.py): add patching for _actions_data to ensure correct structure for GMAIL_FETCH_EMAILS
🔧 (test_gmail.py): refactor execute_action method to return mock data for testing as_dataframe method
🔧 (test_gmail.py): refactor as_dataframe method to handle mock email data and verify DataFrame content
🔧 (test_gmail.py): refactor execute_action method to return mock data for testing update_build_config method
🔧 (secretKeyModal/index.tsx): remove unused imports and clean up the file structure

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
Co-authored-by: Deon Sanchez <69873175+deon-sanchez@users.noreply.github.com>
Co-authored-by: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-04-03 19:38:04 +00:00
Gustavo Costa
f9a7c9bcef
Fix: add insert mode MongoDB (#7394)
* add dropdown inser mode, create method __insert_mode

* fix unit_test mongodb

* add info to index_name

* to overwrite, delete_many from collection

* create verify_search_index

* fix SIMILARITY_OPTIONS

* fix documentation components-vector-stores.md
2025-04-03 19:03:17 +00:00
Cristhian Zanforlin Lousa
f4a07fac69
feat: add customization components (#7419)
*  (webhookFieldComponent): Add support for ENABLE_DATASTAX_LANGFLOW feature flag to conditionally show generate token button
🐛 (use-get-config): Set default value for webhook polling interval if not provided in data
♻️ (custom-secret-key-modal-button): Refactor to pass modal props as a separate object to improve readability and maintainability
🔧 (use-generate-token): Add new file for generating token function
🔧 (secretKeyModal): Refactor to use generate token function based on ENABLE_DATASTAX_LANGFLOW flag and separate modal props into a dedicated interface

*  (constants.ts): add default polling interval and timeout constants for better code readability and maintainability
♻️ (use-get-config.ts): refactor to use the newly added default constants for polling interval and timeout to improve code consistency and reduce duplication

* 🐛 (typescript_test.yml): update the maximum shard count calculation to be 25 instead of 10 to improve test distribution and efficiency

* ⚙️ (typescript_test.yml): adjust optimal shard count calculation to ensure a maximum of 10 shards for test execution
♻️ (index.tsx): refactor modalConfigProps assignment to handle cases where modalProps is null or undefined

---------

Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
2025-04-03 18:56:46 +00:00
Mike Fortman
59f74e894f
fix: move home assistants to bundle (#7430)
* move home assistants to bundle

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-03 18:34:28 +00:00
Mendon Kissling
225eb8c7d7
docs: mcp integration claude path (#7409)
* clarify-path-instructions

* will

* Apply suggestions from code review

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>

* paths-numbered-steps-not-bullets

---------

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
2025-04-03 17:15:32 +00:00
Jason Liu
cd04a5e123
fix: Fixed typo in mcp host setup (#7423)
Update mcp.py

-fix: holst name error,alter :holst->host
2025-04-03 13:12:44 +00:00
Lucas Oliveira
4dcbd7c168
fix: removed handle from sortableinput and connectinput (#7404)
Added sortableList and connect to frontend types constant
2025-04-03 12:57:53 +00:00