* refactor: Standardize import statements and improve code formatting in reactflowUtils.ts
* [autofix.ci] apply automated fixes
* refactor: Standardize string quotes and improve test readability across multiple test files
- Updated string quotes from double to single in various test files for consistency.
- Enhanced test readability by replacing specific text selectors with test IDs.
- Adjusted wait conditions and element interactions to align with updated selectors.
- Ensured all tests maintain functionality while improving code clarity.
* [autofix.ci] apply automated fixes
* test: Add comprehensive Jest tests for createNewFlow function
- Introduced a new test file for the createNewFlow function to validate its behavior.
- Covered various scenarios including default value handling, flow parameter processing, edge cases, and special property handling.
- Ensured immutability of input parameters and consistency of output for the same inputs.
- Mocked dependencies to isolate the function's logic and improve test reliability.
* [autofix.ci] apply automated fixes
* test: Standardize string quotes and improve readability in auto-save and MCP server tests
- Updated string quotes from double to single for consistency across test files.
- Enhanced test readability by utilizing test IDs for element selection.
- Adjusted wait conditions and interactions to align with updated selectors while maintaining test functionality.
* [autofix.ci] apply automated fixes
* chore: update ESLint configuration and improve test selectors in auto-save-off.spec.ts
- Simplified ESLint configuration by removing unnecessary plugins and options.
- Enhanced test selectors in auto-save-off.spec.ts to use test IDs for better reliability and clarity.
* chore: enhance ESLint configuration with Prettier integration and improved rules
- Added Prettier as a plugin to the ESLint configuration for better code formatting.
- Updated parser options and extended rules for improved code quality and consistency.
- Ensured compatibility with TypeScript and React environments.
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* Store mcp server headers
* Add headers on pre check url and is valid url
* adds validation of headers according to RFC 7230
* Fixed sanitized value
* Added backend tests for mcp util.py to increase coverage
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* make key pair input use flatmap id on data test ids
* added testids
* added random test names and added tests for persistence
* fix ruff lint
* [autofix.ci] apply automated fixes
* Fix mypy lint errors
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* Changed Youtube to YouTube
* Updated AIML to AI/ML API
* Updated AI/ML Model name
* Changed Anthropic description
* updated arXiv name
* Set Astra Vectorize as legacy
* Updated get env var
* Updates firecrawl names
* Updated Icon for Google Gen AI embeddings
* Add Space on Home Assistant
* Updated Hugging Face name
* Updated Maritalk Name
* Updated Not Diamond name
* Updated ScrapeGraph names
* Changed SearchApi Name
* Changed TwelveLabs naming
* Updated AstraDB naming
* Updated VertexAI naming
* Updated Wolfram
* Updated Yahoo naming
* Updated Yahoo Finance name
* Updated Yahoo Finance
* [autofix.ci] apply automated fixes
* Update google serper bundle
* updated ai ml icon name
* Updated maritalk
* Changed ai ml api name
* removed openai from base url
* Revert components-bundles changes
* revert changes on components-vector-stores
* Revert changes on deployment-hugging-face-spaces
* Revert changes on integrations-nvidia-ingest
* Revert changes on release-notes
* Update changes on sequential agent
* [autofix.ci] apply automated fixes
* fixed filterSidebar test
* updated filter edge test
* updated shard 11 test with new sidebar names
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* Improved health check and stream URL check on MCP
* Improved health check by validating session connectivity
* Changed mcp servers from json checks
* Fixed imports
* Fixed mcp server tab test
* chore: Bump version to 1.5.0 and update dependencies
- Updated langflow version to 1.5.0 in pyproject.toml, package.json, and package-lock.json.
- Updated langflow-base dependency to version 0.5.0.
- Added platform markers for several dependencies in uv.lock to improve compatibility across different systems.
* fix: fixes auth check for auto_login (#8796)
* ref: improve docling template updates and error message (#8837)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* Attempt to provide powershell curl command
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* Added OS selector to code tabs
* Added no select classes to API modal
* ✨ (code-tabs.tsx): add data-testid attribute to API tab elements for testing purposes
🔧 (tweaksTest.spec.ts, curlApiGeneration.spec.ts, pythonApiGeneration.spec.ts, generalBugs-shard-3.spec.ts): update test scripts to use data-testid attribute for API tab elements instead of role attribute
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
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: cristhianzl <cristhian.lousa@gmail.com>
* fix: update message input handling in LCAgentComponent and improve memory data retrieval
* Refactor MessageTextInput to MessageInput for consistency.
* Enhance input dictionary construction to handle different input types in LCAgentComponent.
* Update get_memory_data method to filter out current input value from retrieved messages.
* fix: update AgentComponent to include documentation link and improve input handling
* Added documentation link for AgentComponent.
* Removed memory inputs from the agent component for cleaner input management.
* Enhanced error handling in message_response method to ensure better validation and logging of exceptions.
* fix: enhance input handling in LCAgentComponent by updating message conversion
* Updated input dictionary construction in LCAgentComponent to use to_lc_message() for Message instances, improving input handling consistency.
* test: add regression test for message duplication in agent component
* Introduced a new test to verify that mathematical expressions do not experience message duplication when processed by the agent component.
* The test checks both input and output JSON to ensure correct handling of expressions like "2+2" without duplication errors.
* test: add workspace tag to regression test for message duplication in agent component
* Updated the regression test for mathematical expressions to include the "@workspace" tag, enhancing test categorization and organization.
* This change ensures better tracking and management of tests related to the agent component.
* fix: add temporary comment in get_memory_data to address message duplication
* Added a TODO comment in the get_memory_data method of AgentComponent to indicate a temporary fix for message duplication issues. This serves as a reminder to develop a more robust solution in the future.
* feat: add message extraction utility for BaseMessage
* Introduced a new helper function, _get_message_from_base_message, to extract and concatenate text content from BaseMessage instances, improving message handling.
* Updated input handling in handle_on_chain_start to utilize the new extraction function, ensuring consistent processing of input messages.
* refactor: standardize code snippets across starter project JSON files
* Updated the "value" field in multiple starter project JSON files to ensure consistent formatting and structure of code snippets.
* This change enhances readability and maintainability of the code examples provided in the starter projects.
* feat: add caching and content dictionary creation for images
* Introduced a new function, create_image_content_dict, to generate a content dictionary for multimodal inputs from image files, enhancing image handling capabilities.
* Implemented LRU caching to optimize performance for repeated image processing.
* Added comprehensive error handling and documentation for better usability and maintainability.
* refactor: update message handling to utilize create_image_content_dict
* Replaced direct image URL creation with create_image_content_dict for improved image content handling in the Data and Message classes.
* Adjusted the order of content in human messages to ensure text appears first, enhancing message structure and clarity.
* Removed deprecated to_lc_message method to streamline the codebase and improve maintainability.
* docs: enhance _get_message_from_base_message docstring for clarity
* Expanded the docstring for the _get_message_from_base_message function to provide detailed information on input types, expected behavior, and examples of usage.
* Improved documentation aims to enhance usability and maintainability of the code by clarifying how to extract text content from BaseMessage instances.
* refactor: enhance image path handling and update message content structure
* Modified the get_file_paths function to support both Image objects and string paths for improved flexibility in file handling.
* Updated test cases to reflect changes in image content structure, ensuring consistency in type and source type attributes.
* Introduced new tests for create_image_content_dict to validate successful creation and error handling for image content dictionaries.
* refactor: streamline message extraction in handle_on_chain_start
* Removed the _get_message_from_base_message function to simplify the codebase.
* Updated handle_on_chain_start to directly use the text method of BaseMessage for extracting message content, enhancing clarity and maintainability.
* feat: enhance input handling for multimodal messages
* Added functionality to process image content within input messages, ensuring images are included in chat history as HumanMessage instances.
* Updated input handling logic to separate image types from text, improving the structure and clarity of message content.
* This enhancement supports better management of multimodal inputs in the agent's chat history.
* feat: add to_lc_message method for converting Data to BaseMessage
* Introduced the to_lc_message method in the Message class to facilitate conversion of Data instances to BaseMessage.
* Implemented logic to handle both HumanMessage and AIMessage based on the presence of required keys and sender type.
* Added logging for missing required keys to improve debugging and maintainability.
* refactor: simplify sender check in Message class
* Updated the sender validation logic in the Message class to remove unnecessary checks for missing sender values.
* This change enhances code clarity and maintains the intended functionality for handling user messages with associated files.
* test: update test_message_from_human_text to reflect content type change
* Modified the test for message conversion to assert that lc_message.content is a string instead of a list.
* Updated assertions to ensure the content matches the expected text, enhancing test accuracy and reliability.
* fix: update sender validation in Message class and adjust test case
* Modified the sender validation logic to handle cases where the sender is not specified, defaulting to HumanMessage.
* Updated the corresponding test case to reflect this change, ensuring accurate type assertion for lc_message when no sender is provided.
* refactor: update import statements for consistency and clarity
* Replaced the import of BaseModel from langchain.pydantic_v1 with the direct import from pydantic to streamline dependencies.
* This change enhances code clarity and aligns with best practices for managing imports in the codebase.
---------
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
* ✨ (data.py): introduce a new function get_file_paths to resolve file paths before creating image URLs in HumanMessage contents
* ✨ (general-bugs-agent-images-playground.spec.ts): add test case for user to send images in the playground with the agent component
* 📝 (general-bugs-agent-images-playground.spec.ts): update file path to image file to fix test failure due to incorrect file path
* [autofix.ci] apply automated fixes
* fix: autofix.ci / Update Starter Projects (pull_request)
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
* 🔧 Update .gitignore to include *.mcp.json files
✨ Add useMenuCustomization hook to customize JSON editor menu items
📝 Add menuUtils for filtering and enhancing JSON editor menu items
📝 Add useMenuCustomization hook for customizing JSON editor menu items
* [autofix.ci] apply automated fixes
* ✨ (copy-button-in-output.spec.ts): add test for user to copy JSON from output in the frontend application.
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* Changed actions to tools
* Changed connections to servers
* Added no tools found
* Changed actions to tools in mcp
* Added new label for mcp servers description
* Added better descriptions
* Updated folder name to not be the deprecated
* Changed backend to use Starter Project as default folder name
* Changed docs
* Changed frontend to display pure folder name without deprecated
* Updated tests
* Added migration to change folder name
* Refactor migration to rename folder names with unique constraint checks for users. Updated upgrade and downgrade functions to streamline the renaming process for "My Projects" and "Starter Project".
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* fix: enhance dropdown component with refresh button and clean up parameter render logic
- Added a refresh button to the dropdown component, improving user interaction.
- Refactored parameter render component to remove unnecessary wrapping around the render function.
- Updated package-lock.json to remove extraneous dependencies.
* [autofix.ci] apply automated fixes
* refactor(OutputComponent): replace DropdownMenu with Popover and Command components
- Updated OutputComponent to use Popover and Command components for improved UI interaction.
- Refactored dropdown logic to enhance accessibility and user experience.
- Added a reference for the button to manage focus visibility.
* refactor: update Memory Chatbot configuration and remove unused RefreshParameterComponent
- Changed display names and output methods in Memory Chatbot JSON configuration for clarity and consistency.
- Introduced a new output method for retrieving messages as text.
- Removed the RefreshParameterComponent and its references from the parameter render component to streamline the codebase.
* refactor: update dropdown component layout for improved styling
- Changed the layout classes in the dropdown component to enhance responsiveness and visual consistency.
- Adjusted flex properties to ensure proper alignment and spacing based on the presence of filtered metadata.
* refactor: streamline dropdown component structure and enhance button functionality
- Removed redundant rendering functions for refresh and custom option dialogs, integrating them directly into the dropdown's main structure.
- Improved layout and styling for better responsiveness and visual consistency.
- Adjusted class names for better alignment and spacing, particularly in relation to filtered metadata.
- Ensured the refresh button is consistently displayed based on dialog input conditions.
* refactor: enhance dropdown component styling for better readability
- Updated text size in dropdown options for improved visibility.
- Increased padding in command items for better touch targets and visual consistency.
* refactor: adjust dropdown component styling for improved usability
- Reduced padding in the search input for a more compact design.
- Updated text size in the search input for better readability.
- Enhanced layout of filtered metadata display for clearer visibility.
* refactor: enhance dropdown component rendering and styling
- Added console log for filtered metadata to assist in debugging.
- Adjusted class names in dropdown options for better responsiveness based on filtered metadata length.
* feat: add data-testid attributes for refresh buttons and simplify memoization in ParameterRenderComponent
- Added data-testid attributes to refresh buttons in Dropdown component for improved testability.
- Removed unnecessary useMemo in ParameterRenderComponent to streamline rendering logic.
- Introduced a new test for the refresh dropdown list functionality to ensure proper behavior.
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* Update styleUtils.ts
* update to prompt component
* update to template
* update to mcp component
* update to smart function
* [autofix.ci] apply automated fixes
* update to templates
* fix sidebar
* change name
* update import
* update import
* update import
* [autofix.ci] apply automated fixes
* fix import
* fix ollama
* fix ruff
* refactor(agent): standardize memory handling and update chat history logic (#8715)
* update chat history
* update to agents
* Update Simple Agent.json
* update to templates
* ruff errors
* Update agent.py
* Update test_agent_component.py
* [autofix.ci] apply automated fixes
* update templates
* test fix
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
* fix prompt change
* feat(message): support sequencing of multiple streamable models (#8434)
* feat: update OpenAI model parameters handling for reasoning models
* feat: extend input_value type in LCModelComponent to support AsyncIterator and Iterator
* refactor: remove assert_streaming_sequence method and related checks from Graph class
* feat: add consume_iterator method to Message class for handling iterators
* test: add unit tests for OpenAIModelComponent functionality and integration
* feat: update OpenAIModelComponent to include temperature and seed parameters in build_model method
* feat: rename consume_iterator method to consume_iterator_in_text and update its implementation for handling text
* feat: add is_connected_to_chat_output method to Component class for improved message handling
* feat: refactor LCModelComponent methods to support asynchronous message handling and improve chat output integration
* refactor: remove consume_iterator_in_text method from Message class and clean up LCModelComponent input handling
* fix: update import paths for input components in multiple starter project JSON files
* fix: enhance error message formatting in ErrorMessage class to handle additional exception attributes
* refactor: remove validate_stream calls from generate_flow_events and Graph class to streamline flow processing
* fix: handle asyncio.CancelledError in aadd_messagetables to ensure proper session rollback and retry logic
* refactor: streamline message handling in LCModelComponent by replacing async invocation with synchronous calls and updating message text handling
* refactor: enhance message handling in LCModelComponent by introducing lf_message for improved return value management and updating properties for consistency
* feat: add _build_source method to Component class for enhanced source handling and flexibility in source object management
* feat: enhance LCModelComponent by adding _handle_stream method for improved streaming response handling and refactoring chat output integration
* feat: update MemoryComponent to enhance message retrieval and storage functionality, including new sender type handling and output options for text and dataframe formats
* test: refactor LanguageModelComponent tests to use ComponentTestBaseWithoutClient and add tests for Google model creation and error handling
* test: add fixtures for API keys and implement live API tests for OpenAI, Anthropic, and Google models
* fix: reorder JSON properties for consistency in starter projects
* Updated JSON files for various starter projects to ensure consistent ordering of properties, specifically moving "type" to follow "selected_output" for better readability and maintainability.
* Affected files: Basic Prompt Chaining.json, Blog Writer.json, Financial Report Parser.json, Hybrid Search RAG.json, SEO Keyword Generator.json.
* refactor: simplify input_value type in LCModelComponent
* Updated the input_value parameter in LCModelComponent to remove AsyncIterator and Iterator types, streamlining the input options to only str and Message for improved clarity and maintainability.
* This change enhances the documentation and understanding of the expected input types for the component.
* fix: clarify comment for handling source in Component class
* refactor: remove unnecessary mocking in OpenAI model integration tests
* auto update
* update
* [autofix.ci] apply automated fixes
* fix openai import
* revert template changes
* test fixes
* update templates
* [autofix.ci] apply automated fixes
* fix tests
* fix order
* fix prompts import
* fix frontend tests
* fix frontend
* [autofix.ci] apply automated fixes
* add charmander
* [autofix.ci] apply automated fixes
* fix prompt frontend
* fix frontend
* test fix
* [autofix.ci] apply automated fixes
* change pokedex
* remove pokedex extra
* update template
* name fix
* update template
* mcp test fix
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: Yuqi Tang <yuqi.tang@datastax.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* ✨ (frontend): add new function clearHandlesFromAdvancedFields to handle clearing handles from advanced fields when code is updated
📝 (frontend): update documentation and add tests for deleting handles from advanced fields when code is updated
🔧 (frontend): remove unused style for Outlook in styleUtils to clean up code
🔧 (frontend): add test for deleting handles from advanced fields when code is updated in general-bugs-delete-handle-advanced-input.spec
* ✨ (frontend): add support for managing edges and nodes in the flowStore to improve data handling and flow visualization
♻️ (frontend): refactor cleanEdges function to accept an object with nodes, edges, componentId, and data parameters for better modularity and reusability
* ✨ (codeAreaModal/index.tsx): Refactor import statements and function names for better clarity and organization
♻️ (flowStore.ts): Refactor cleanEdges function to accept nodes and edges as separate arguments instead of an object
♻️ (flowStore.ts): Update all calls to cleanEdges function to pass nodes and edges separately
♻️ (reactflowUtils.ts): Refactor clearHandlesFromAdvancedFields function to accept only necessary arguments and remove unnecessary logic
* ✨ (custom-get-download-folders.ts): update default filename to include folderName variable to provide more context and improve user experience
* ✨ (custom-get-download-folders.ts): update folder name from "My Projects" to "Starter Project" for better clarity and consistency
* 📝 (.github/changes-filter.yaml): add new directory 'serialization' to components list for changes filtering
🐛 (general-bugs-truncate-results.spec.ts): fix typo in 'truncated' word and update timeout for better test reliability
* 🔧 (custom-get-download-folders.ts): Remove unnecessary conditional statement and update default filename for download to "flows.zip" for better clarity.
* ✨ Add IS_AUTO_LOGIN constant to handle auto login feature in NodeInputField and TableNodeCellRender components
🔧 Add loginLangflow utility function to facilitate login process in tests
* ✨ (NodeInputField/index.tsx): introduce useIsAutoLogin hook to simplify logic for determining auto login status
✨ (tableNodeCellRender/index.tsx): introduce useIsAutoLogin hook to simplify logic for determining auto login status
📝 (use-is-auto-login.ts): add custom hook useIsAutoLogin to encapsulate logic for determining auto login status
* 📝 (handleRenderComponent/index.tsx): Add useShallow import for zustand/react/shallow to optimize re-renders
📝 (handleRenderComponent/index.tsx): Introduce isLocked state to handle locked flow functionality
📝 (handleRenderComponent/index.tsx): Update tooltip visibility based on isLocked state
📝 (handleRenderComponent/index.tsx): Update handle style based on isLocked state
📝 (PageComponent/index.tsx): Add useShallow import for zustand/react/shallow to optimize re-renders
📝 (PageComponent/index.tsx): Introduce isLocked state to handle locked flow functionality
📝 (PageComponent/index.tsx): Prevent edge click actions when flow is locked
📝 (PageComponent/index.tsx): Disable edge actions when flow is locked
📝 (PageComponent/index.tsx): Update edge actions based on isLocked state
📝 (lock-flow.spec.ts): Add test to simulate deleting edges when flow is locked
* ✨ (lock-flow.spec.ts): add functionality to try connecting nodes and handle edge cases when connecting nodes in the flow diagram.
* Added actionCount to fetch only servers without actionCount
* Updated queries and uses to use servers without action data first, and then to fetch them
* removed comment
* updated constants
* Added loading dropdown
* Make options persist
* Implemented new value format for McpComponent and implemented saving and removing temp Mcp Server if config is existent
* Changed value type
* Implemented cache and saving the server config
* Fixed mcp server test
* fix backend formatting
* fixed lint
* Added await
* Fixed save button not appearing when no servers are available
* added condition to only show save button when options is not null
📝 (handleRenderComponent/index.tsx): Introduce isLocked state to handle locked flow functionality
📝 (handleRenderComponent/index.tsx): Update tooltip visibility based on isLocked state
📝 (handleRenderComponent/index.tsx): Update handle style based on isLocked state
📝 (PageComponent/index.tsx): Add useShallow import for zustand/react/shallow to optimize re-renders
📝 (PageComponent/index.tsx): Introduce isLocked state to handle locked flow functionality
📝 (PageComponent/index.tsx): Prevent edge click actions when flow is locked
📝 (PageComponent/index.tsx): Disable edge actions when flow is locked
📝 (PageComponent/index.tsx): Update edge actions based on isLocked state
📝 (lock-flow.spec.ts): Add test to simulate deleting edges when flow is locked
* fix: update selected_output field in various starter project JSON files
- Added or adjusted the "selected_output" field in multiple starter project JSON files to ensure consistency and correct functionality.
- Refactored the output selection logic in the GenericNode component to utilize the updated "selected_output" property.
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* fix: enhance output handling in GenericNode and NodeOutputField components
- Added a check to prevent auto-unhiding outputs with group_outputs set to false in NodeOutputField.
- Updated the GenericNode component to ensure the selected_output field is correctly assigned during node updates.
- Introduced group_outputs property in the OutputFieldType to support new output handling logic.
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* Revert starter_projects directory to main branch state
* 📝 (general-bugs-shard-3909.spec.ts): update test description to match the changed button text for better clarity and maintainability
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* refactor: update default behavior for components path in Settings class
* Set components path to an empty list when no value is provided, improving clarity in logging.
* Remove redundant addition of BASE_COMPONENTS_PATH when it is not already included.
* feat: Implement importing of Langflow components
* Added `get_langflow_components_list` to asynchronously fetch built-in components using introspection and pkgutil.
* Introduced `_get_langflow_components_list_sync` for synchronous processing of component classes.
* Updated `get_and_cache_all_types_dict` to merge fetched components into the cache.
* Enhanced error handling during module imports and component processing.
* feat: Enhance component handling in custom utils for better flexibility
* refactor: Simplify component retrieval logic and enhance error handling
* refactor: Remove unnecessary 'required_inputs' field from multiple starter project JSON files
* refactor: Change error handling to warning for component instantiation failures
* refactor: Improve component type checking in get_component_instance and run_build_config functions
* refactor: Update subclass check for custom_component in run_build_config function
* refactor: Update component name retrieval logic to prioritize class name
* refactor: Replace settings service call with direct BASE_COMPONENTS_PATH in test_get_all
* refactor: Update required inputs and improve model name info across starter projects
* [autofix.ci] apply automated fixes
* 📝 Add docstrings to `fix-component-loading` (#8397)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Build and log fixes
* refactor: Improve type checking for custom component instances in `get_component_instance`
* refactor: Enhance type checking for custom components in `run_build_config`
* refactor: Clean up docstrings in component loading functions for clarity
* refactor: Rename `get_langflow_components_list` to `import_langflow_components` for clarity
* refactor: Exclude deactivated modules and improve class checking in component loading
* test: Add component differences analysis for import_langflow_components and aget_all_types_dict
* [autofix.ci] apply automated fixes
* refactor: Simplify assert statements and improve logging in component loading tests
* [autofix.ci] apply automated fixes
* refactor: Consolidate __all__ declaration for retriever components
* refactor: Improve comments for clarity in run_build_config function
* [autofix.ci] apply automated fixes
* refactor: Enhance module validation logic in _get_langflow_components_list_sync function
* refactor: Update debug log message for clarity in get_and_cache_all_types_dict function
* refactor: Enhance parallel processing of Langflow components import and improve logging
* refactor: Improve performance testing by adding warm-up runs and clarifying output messages
* refactor: Improve assertion clarity in component loading tests and add performance benchmark
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* [autofix.ci] apply automated fixes (attempt 3/3)
* Use Component base class instead of custom component for a few components
* ⚡️ Speed up function `get_component_instance` by 365% in PR #8395 (`fix-component-loading`) (#8438)
Co-authored-by: codeflash-ai[bot] <148906541+codeflash-ai[bot]@users.noreply.github.com>
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* refactor: update debug log message for components cache building
* refactor: update required inputs to use 'api_key' for multiple starter projects
* refactor: update import statement for BaseFileComponent in nvidia_ingest.py
* refactor: simplify timing results print statement in test_load_components.py
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* refactor: improve assertion readability and error handling in test_load_components.py
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* [autofix.ci] apply automated fixes (attempt 3/3)
* feat: allow os.stat in pkgutil for component loading in blockbuster fixture
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* [autofix.ci] apply automated fixes (attempt 3/3)
* updates few components to new template
* import fixes
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* [autofix.ci] apply automated fixes (attempt 3/3)
* remove unused VectaraSelfQueryRetriverComponent from vectorstores __all__ export
* Update starter project configurations to require 'api_key' as a mandatory input for model output in multiple JSON files.
* [autofix.ci] apply automated fixes
* Refactor JSONDocumentBuilder by removing TYPE_CHECKING import and update Vectara import statement to suppress linting warning.
* ⚡️ Speed up function `_process_single_module` by 1,017% in PR #8395 (`fix-component-loading`) (#8443)
Co-authored-by: codeflash-ai[bot] <148906541+codeflash-ai[bot]@users.noreply.github.com>
* [autofix.ci] apply automated fixes
* Remove unnecessary call to `_set_output_required_inputs` in `Component` class setup
* Revert "Use Component base class instead of custom component for a few components"
This reverts commit 2fd61f92b2735a770d82eada3b429c4e20657335.
* move components to deactivated folder
AmazonKendraRetriever, JSONDocumentBuilder, ListenComponent, MetalRetrieverComponent, MultiQueryRetrieverComponent, NotifyComponent, RetrieverToolComponent, and VectaraSelfQueryRetrieverComponent
These components provide various functionalities including document building, notification handling, and integration with external APIs for data retrieval. Each component includes input specifications and error handling for robust operation.
* [autofix.ci] apply automated fixes
* Revert "move components to deactivated folder"
This reverts commit 0aa17a26d938f4a5ea622e16c4645813ea271e44.
* Implement multiple new components in the deactivated folder, including AmazonKendraRetrieverComponent, JSONDocumentBuilder, ListenComponent, MetalRetrieverComponent, MultiQueryRetrieverComponent, NotifyComponent, RetrieverToolComponent, and VectaraSelfQueryRetrieverComponent. Each component is designed to enhance functionality for document handling, notifications, and API integrations, with robust input specifications and error handling for improved reliability.
* feat: Enhance starter project loading with improved logging and error handling
* refactor: Remove debug logging for module processing in import_langflow_components
* [autofix.ci] apply automated fixes
* fix: Disable mypy error for undefined attributes in deactivated components
* feat: Enhance blocking behavior in blockbuster tests with additional function checks
* fix: Add import error handling for boto3 in S3BucketUploaderComponent
* refactor: Add debug logging for module processing in components
* fix: Temporarily disable auto-use for blockbuster fixture until blocking issue is resolved
* feat: Add utility function to check for preimported components
* fix: Update get_component_instance to accept both CustomComponent and Component types
* fix: Update import error message for boto3 installation instructions
* fix: Correct class name from VectoStoreRetrieverComponent to VectorStoreRetrieverComponent
* fix: Update Vectara type hints and import statements for consistency
* fix: Refactor get_component_instance and build_custom_component_template_from_inputs for improved error handling and component instantiation
* fix: Remove debug logging from _process_single_module to streamline module processing
* ⚡️ Speed up function `is_a_preimported_component` by 24% in PR #8395 (`fix-component-loading`)
Here is an optimized version of your program.
**Reasoning for changes:**
- The check `isinstance(custom_component, Component)` followed by `type(custom_component) is not Component` causes the interpreter to potentially look up the type and MRO twice per call.
- By storing `type(custom_component)` in `klass` and using `issubclass(klass, Component)`, you avoid having Python walk the MRO twice for the same object, which is subtly more efficient especially in tight loops and heavy use scenarios.
- Using `issubclass()` on the object's type is semantically equivalent to `isinstance()`, except it also works for custom metaclass scenarios and is very slightly faster when type is already known.
**All program logic and comments are preserved, only the relevant portion is optimized.**
* ✨ (freeze.spec.ts): introduce new function addFlowToTestOnEmptyLangflow to enhance test coverage and improve test reliability
* ✨ (freeze.spec.ts): increase timeout value for waiting for "built successfully" text to appear to improve test reliability
* ✨ (freeze.spec.ts): refactor code to check if firstRunLangflow is greater than 0 before calling addFlowToTestOnEmptyLangflow
🔧 (generalBugs-shard-9.spec.ts): update tags in test case to include @workspace and @components
♻️ (generalBugs-shard-9.spec.ts): refactor code to remove unnecessary steps related to sidebar search and node handling
🔧 (store-shard-0.spec.ts): update test cases to be skipped and improve readability by using async arrow functions
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Jordan Frazier <jordan.frazier@datastax.com>
Co-authored-by: Jordan Frazier <122494242+jordanrfrazier@users.noreply.github.com>
Co-authored-by: codeflash-ai[bot] <148906541+codeflash-ai[bot]@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* Added mcpinput to the backend
* Fixed list selection component to contain descriptions
* Added mcp component in the frontend with mock values
* Added mcp rendering on Parameter Render Component
* Changed input to be more concise and to have dynamic placeholder
* Added header search placeholder
* Fixed styling to match new input
* Removed unused params
* Adds AddMcpServerModal's first mock version
* Adds Add button on mcp component and list selection component
* First pass at mcp api
* Add PATCH endpoint
* Add DELETE endpoint
* fix: Bump version numbers for langflow and langflow-base to 1.4.3 and 0.4.3 respectively
* fix: Remove Igor Carvalho from maintainers list in pyproject.toml
* fix(agent): reset model list when provider changes
Switching the provider in the Agent component sometimes left models from
the previous provider visible/selected.
We now filter against the new , ensuring only
models that belong to the active provider remain.
* src/frontend/src/components/core/dropdownComponent/index.tsx
– add guard when rebuilding
* tests/extended/regression/general-bugs-dropdown-select-not-in-list.spec.ts
– expand coverage for “model not in list” edge-cases
Co-authored-by: Cristian Lousa <cristian.lousa@gmail.com>
* fix: Update Pokédex Agent template (#8373)
* Implement adding and getting MCP servers, implemented addMcpServerModal
* Added sse and stdio ways of adding a server
* Added no actions handling
* added new mcp type to constants
* Added headers to add mcp server modal
* Changed mcp component to allow persistent mcp servers
* fix input list component gradient
* fix add server modal to patch when initial data is present, and to clean variables when switching tabs
* changed message on add mcp server
* Added required mutations for mcp page
* Added mcp servers page
* Changed design of page
* Fixed delete problems and added delete confirmation
* fixed wrong error parsing
* changed padding
* Made added server be used on mcp component
* refactor: remove references to the langflow store (#8354)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
Co-authored-by: Ítalo Johnny <italojohnnydosanjos@gmail.com>
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
fix: apikey lock issue and add option to disable tracking (#8361)
* Fixed search on sidebar
* fixed infinite use effect
* Fixed error handling
* Fixed tool mode disappearing
* fixed key pair button submitting form
* Fixed bugs
* Added required
* Changed message
* Disabled other tabs when modifying
* Removed tool dropdown if the mcp server is empty
* parsed name
* fixed data test id not applying
* fixed mcp component
* Fixed component not working when only stdio command is present
* refactored tests
* Updated mcp_component to remove old non default keys
* Added data-testids
* Modified tests to include settings page functionality
* [autofix.ci] apply automated fixes
* Refactor out the core part of the mcp
* [autofix.ci] apply automated fixes
* Added placeholders on frontend components for errors
* Fixed bugs with mcp component
* updated bug
* fix: made empty project appear instead of empty flows list when mcp is enabled (#8336)
* try to fix
* Fix MCP persistence
* Update mcp_component.py
* Update mcp.py
* [autofix.ci] apply automated fixes
* fix: Bump version numbers for langflow and langflow-base to 1.4.3 and 0.4.3 respectively
* fix: Remove Igor Carvalho from maintainers list in pyproject.toml
* fix(agent): reset model list when provider changes
Switching the provider in the Agent component sometimes left models from
the previous provider visible/selected.
We now filter against the new , ensuring only
models that belong to the active provider remain.
* src/frontend/src/components/core/dropdownComponent/index.tsx
– add guard when rebuilding
* tests/extended/regression/general-bugs-dropdown-select-not-in-list.spec.ts
– expand coverage for “model not in list” edge-cases
Co-authored-by: Cristian Lousa <cristian.lousa@gmail.com>
* refactor: remove references to the langflow store (#8354)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
Co-authored-by: Ítalo Johnny <italojohnnydosanjos@gmail.com>
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
fix: apikey lock issue and add option to disable tracking (#8361)
* fix: made empty project appear instead of empty flows list when mcp is enabled (#8336)
* fix mcp client async problems
* fixed mcp sse access
* [autofix.ci] apply automated fixes
* Made values be maintained when refreshing page
* Fixed bugs with tool mode and switching from tool mode to not tool mode
* Update mcp_component.py
* Update test_mcp_component.py
* Don't expose file by name as external endpoint
* Update files.py
* Update files.py
* Add checks for id
* Refactor tests
* Update test_mcp_component.py
* Update test_mcp_component.py
* Update test_mcp_component.py
* updated tests
* re-added placeholder on input for tests to not fail
* updated session selector in order for tests to work
---------
Co-authored-by: Eric Hare <ericrhare@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
Co-authored-by: Cristian Lousa <cristian.lousa@gmail.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Deon Sanchez <69873175+deon-sanchez@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
Co-authored-by: Ítalo Johnny <italojohnnydosanjos@gmail.com>
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
* only allow customvals and options to be in the options list
* ✨ (general-bugs-dropdown-select-not-in-list.spec.ts): add additional test cases to cover dropdown selection functionality and ensure correct behavior in the frontend application
---------
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* Update loop.py
* [autofix.ci] apply automated fixes
* Update loop-component.spec.ts
* change dataframe input name to inputs
* [autofix.ci] apply automated fixes
* 🐛 (typescript_test.yml): increase the maximum shard count to 40 to improve test distribution and efficiency
* 🔧 (typescript_test.yml): adjust optimal shard count calculation to use a maximum of 10 shards instead of 40 for better test distribution
🐛 (loop-component.spec.ts): fix getByTestId selector to match the updated element ID for testing purposes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yuqi Tang <yuqi.tang@datastax.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* Added truncation items as constant and reduced it to 100
* Added truncation test to regression
* get max items length from config
* changed typo in backend
* Added endpoint to add servers to local backend
* Add install mcp query
* Fixed mcp projects to receive body schema
* Added patch install to mcp server tab
* feat: adds new Edit Details popover, removes flow menu, fixes nav alignment, adds new Flow Status overlay (#8087)
* Updated flow settings component size
* Added FlowSettingsComponent to contain modal content
* Removed unused imports
* Changed Flow Settings Modal to use new component
* Changed Flow Menu styling, removing Saved and context menu, and adding a direct click to edit flow info
* Removed unused styling
* Updated nav position and truncation
* updated alert styling
* Added z index to header
* Added flow settings coming from the bottom
* Changed flow settings to not crash when there is no flow
* Removed unused imports
* Implemented flow details using popover
* Removed onClick
* Changed canvas controls position and color
* Changed panel tooltip side and classes
* Added log canvas component
* Added children to flow logs modal
* Added log canvas component into page
* Changed position and shadow of canvas controls
* removed endpoint name from edit flow settings
* added endpoint name change into tweaks modal
* Added endpoint editing to tweaks
* Implemented storing the error in the flowBuildStatus
* Updated type
* Added Flow Building Component
* Added Flow Building Component implementation
* Added red color
* Added past build flow params
* Implemented design of flowBuildingComponent
* Implemented build error storing on flowStore
* Implemented build error on flow store
* Changed notifications test
* Set build error as null when building
* Reset build error when exiting flow
* Changed from error to buildError
* Changed flowStore to have buildInfo instead of buildError
* Changed flowBuildingComponent to have buildInfo and display successful builds
* Added handleDismissed instead of setting dismissed as true
* Updated tests to current Update implementation
* Updated tests to remove click on built successfully
* Updated tests and data-testid to match new Flow Name editing behavior
* fixed auto login test
* Fixed edit-flow-name test and save changes on node
* fixed tests
* Changed Share to Publish and added test ids
* added Rename Flow util for tests
* Changed tests to use new RenameFlow
* Fixed auto save off
* Added data test id to flow building component
* Removed pulsing from Name Invalid
* Made name editable but not saveable when invalid
* Added character name reached on description
* Added transition on pencil
* Modularized alert store to separate notification history and notifications
* Added errors to notification history
* Fixed flow building component position and update all components
* Fixed animations
* Fixed animation
* Added same animation to Update All Components
* Updated animations to make update only appear when flow building is not appearing
* fix flow settings test
* Fixed build status not being redefined
* ✨ (UpdateAllComponents/index.tsx): Refactor containerVariants to CONTAINER_VARIANTS for consistency and readability
📝 (visual-variants.ts): Add visual variants for buttons and time in flowBuildingComponent
♻️ (flowBuildingComponent/index.tsx): Import visual variants from separate file for better organization and maintainability
* Fixed offset width of time
---------
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* fix: fix regex on mcp server tab test (#8175)
* Fixed MCP Server Tab Test
* Fixed mcp server tab test
* Added timeout to test
* Added retry to mcp server tab test
* docs: cookie-banner-link (#8179)
cookie-banner-link
* fix: removed fit view that caused duck duck go test to fail (#8178)
fixed duck duck go test to not fail
* feat: Enhance API request component (#8070)
* update the api request component
* [autofix.ci] apply automated fixes
* update the component
* Update test_api_request_component.py
* [autofix.ci] apply automated fixes
* remove MODE_CONFIG unused variable
* [autofix.ci] apply automated fixes
* use normalize function
* Update template
* Update test_api_request_component.py
* UI test fix
* selector fix
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yuqi Tang <yuqi.tang@datastax.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
* docs: system assist component (#8089)
* sidebars
* initial-content
* more
* update
* trailing-spaces
* example
* standardize-naming
* shorten-introduction-and-remove-client
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* Update docs/docs/Integrations/Nvidia/integrations-nvidia-system-assist.md
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: deploy langflow with caddyfile and docker compose (#8120)
* initial-content
* not-json
* clarify-public key
* more-accessible-name-and-context
* exit-session
* fix: simplify GetStartedProgress percentage calculation logic (#8183)
🐛 (get-started-progress.tsx): fix calculation of totalPercentage to correctly display progress bar percentage
💡 (get-started-progress.tsx): refactor logic to calculate totalPercentage based on user opt-ins and flows
* fix: set cursor to text in text fields (#8173)
Fixed cursor being default in input fields
* feat: add datastax components bundle (#8184)
* feat: add datastax components bundle
* Update __init__.py
* Remove old astra assistants folder
* Remove old tools
* Update __init__.py
* Update test_assistants_components.py
---------
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
* feat: updated components header styling (#8085)
* Removed unused styles
* Updated node icon to follow design
* Updated node name to follow design and include Beta
* Removed Beta from node status
* Removed unused classes and parameters from GenericNode
* Changed node description padding on input
* Changed paddings and gaps
* removed unused classes
* Added accent purple foreground color to Experimental
* Fixed classes and gaps in generic node
* Fixed node name gaps
* Fixed node status classes and styling
* Removed unused classes and changed run-bg size
* Changed test to use new test id
* Changed Node Name to have beta tooltip
* Changed Build Failed icon to be a circle alert
* Changed Node Status gap and conditions to show spacings correctly
* Changed padding to not change height of other components
* Changed nodeStatus to show validation on small node
* Changed classes to show correct spacing and overflow
* Changed description size
* Fixed description text size
* Fixed input margin
* Fixed description editing not appearing when no description is available
* Fixed status not breaking words
* Updated colors
* Updated node output color
* [autofix.ci] apply automated fixes
* Changed duration style in chat
* Re-added output color
* Updated timeout on mcp server tab test
* Added more timeout to mcp server tab test
* fixed loop component test
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* ref: SQL component (#8185)
* update sql
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* feat: Loop uplift dataframe input and output (#8177)
* tests cases
* update to loop
* Update component.py
* 📝 (LoopTemplate.json): update value of a configuration key from "OPENAI_API_KEY" to "ANTHROPIC_API_KEY" in order to reflect the correct API key being used
* update json test loop
* add dataframe support for the loop component
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* fix: starter project
* update loop component and tests
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* update logic
* Update loop_basic.py
* Update Research Translation Loop.json
* fix lint
* format fix
* [autofix.ci] apply automated fixes
* reverting changes in component and vertex base
* [autofix.ci] apply automated fixes
* fix lint errors
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* update in the loop templates and component
* [autofix.ci] apply automated fixes
* Update Research Translation Loop.json
* update tests
* update the code and deprecate the old loop
* [autofix.ci] apply automated fixes
* Update loop_basic.py
* WIP FIX Loop Tests
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes
* ✨ (loop-component.spec.ts): Update test cases to use more descriptive names for components and actions for better clarity and understanding.
* ✨ (loop-component.spec.ts): refactor loop component tests to improve readability and maintainability by updating test selectors and removing redundant test steps
* update
* Update loop-component.spec.ts
* Update Research Translation Loop.json
* Update Research Translation Loop.json
* Update Research Translation Loop.json
* Update Research Translation Loop.json
* loop test fix
---------
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: Rodrigo <rodrigosilvanader@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
* fix: fixes nightly tests (#8194)
* fix: mcp test when there are a lot of flows (#8197)
* Added cursor and claude in icons
* Added one click install to cursor and claude
* Changed design of mcp server tab page
* Added function to get local platform
* Added platform specific installer json on mcp server tab
* Added FA icons for windows and linux
* Added icons to tabs
* Added endpoint to check for installed MCP servers
* Added use get installed MCP servers
* Changed to get installed
* Use installed MCP servers on server
* Correct instalation for windows and WSL
* Fixed code not selecting
* refactor: use session_scope for database session management in install_mcp_config
* refactor: change logger level from info to debug for WSL and Windows detection in install_mcp_configg
* refactor: replace subprocess with asyncio for WSL IP address retrieval in install_mcp_config
* refactor: streamline project MCP server handling and improve SSE connection management in mcp_projects.py
* refactor: remove unnecessary user dependency from project endpoints in mcp_projects.py
* refactor: unify database session management using session_scope in mcp_projects.py
* refactor: enhance project tool listing and logging in mcp_projects.py by using session_scope and changing logger level to debug
* refactor: simplify WSL detection logic in install_mcp_config by removing unnecessary variable and streamlining conditions
* Removed unused console.log
* Implemented check if Langflow is running on local machine
* Fixed backend to generate an error if trying to install from not local
* Added error handling to frontend and changed loading
* Fix check of macos
* Refactored mcp server tab test to work with new changes
* Fixed test to pass with Windows selected and check the status of Linux too
* [autofix.ci] apply automated fixes
* Changed wait for timeout for wait for selector
* Fixed path.open
* Refactor test_update_project_mcp_settings to use session_scope for database service mock
* Refactor tests in test_mcp_projects.py to utilize session_scope for database session management, improving consistency and readability.
* Updated wsl to uvx
---------
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yuqi Tang <yuqi.tang@datastax.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: Eric Hare <ericrhare@gmail.com>
Co-authored-by: Rodrigo <rodrigosilvanader@gmail.com>
Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* url component update.
* update to url component and tests
* Make directory component legacy
* Only output dataframe from file component
* Update base_file.py
* Update description and output
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* Deprecate Processing Components.
* Move Tool and CQL Astra to bundle
* Comprehensive improvements to Save to File
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* Clean up description, dont unlink file
* Remove print statement
* fix: Clean up the text output of the URL component (#8158)
* Clean text output from url component
* [autofix.ci] apply automated fixes
* Update data.py
* Make a visible function
* URL component cleaning refactor
* Update data.py
* [autofix.ci] apply automated fixes
* Update with chat output fixes and template updates
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes
* Fix linting issues
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* revert datastax component bundle
* Restore the two tools as well
* Two more template updates
* Update Vector Store RAG.json
* Update Vector Store RAG.json
* Update __init__.py
* Update directory.py
* Update url.py
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* Update test_basic_prompting.py
* Unit test updates
* Fix unit tests one more time
* Fix conversion in safe convert
* Update chat.py
* Temporary disabling of save to file tests
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* Fix some more unit tests
* Update test_split_text_component.py
* [autofix.ci] apply automated fixes
* Update test_url_component.py
* Update file component outputs in tests
* Fix starter projects with old data to message
* Update test_split_text_component.py
* fix slider inputs
* Update data.py
* [autofix.ci] apply automated fixes
* Update data.py
* 🐛 (typescript_test.yml): increase the maximum shard count to 40 to improve test distribution and performance
* Rename safe file component
* [autofix.ci] apply automated fixes
* Make sure we import the right save to file
* 🔧 (freeze.spec.ts): update test description to match the changed element's test ID
🔧 (Blog Writer.spec.ts): add click event to test file input element
🔧 (edit-tools.spec.ts): update assertion to check if rowsCount is greater than 2 instead of 3
🔧 (loop-component.spec.ts): add import statement for uploadFile function
🔧 (tool-mode.spec.ts): update targetPosition coordinates for dragTo action
🔧 (chatInputOutputUser-shard-1.spec.ts): update test description to match the changed element's test ID
* ✨ (stop-building.spec.ts): update click target for better test coverage and accuracy
✨ (fileUploadComponent.spec.ts): adjust drag target position and update click targets for improved testing flow and coverage
* 🐛 (typescript_test.yml): adjust the maximum shard count to 10 to prevent excessive parallelization and improve test performance
* Two url component types
* Update ruff formatting
* [autofix.ci] apply automated fixes
* Revert name of method
* 🐛 (typescript_test.yml): increase the maximum shard count to 40 to improve test distribution and performance
* ✨ (freeze.spec.ts): update test to use correct testid for element
✨ (stop-building.spec.ts): update test to use correct testid for element
✨ (loop-component.spec.ts): update test to use correct testid for element
✨ (chatInputOutputUser-shard-1.spec.ts): update tests to use correct testid for element
* ✨ (freeze.spec.ts, stop-building.spec.ts, loop-component.spec.ts, chatInputOutputUser-shard-1.spec.ts): update test selectors to match changes in the frontend UI, improving test reliability and maintainability.
* ✨ (stop-building.spec.ts): update test to use correct testId for clicking element
✨ (loop-component.spec.ts): update test to use correct testId for clicking element
✨ (chatInputOutputUser-shard-1.spec.ts): update multiple tests to use correct testId for clicking element
* 📝 (freeze.spec.ts): update test selector to match the correct element on the page for better test accuracy
* 🔧 (typescript_test.yml): adjust optimal shard count calculation to ensure a maximum of 10 shards for test execution
🔧 (chatInputOutputUser-shard-1.spec.ts): update test selectors to match changes in the frontend output structure for integration tests
* ✨ (chatInputOutputUser-shard-1.spec.ts): update test selectors for better clarity and consistency in the integration tests.
---------
Co-authored-by: Eric Hare <ericrhare@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* create an IO bundle
* Update styleUtils.ts
* [autofix.ci] apply automated fixes
* change folder names
* [autofix.ci] apply automated fixes
* Update test_endpoints.py
* refactor: update test IDs for input/output components in specs
* test: update test IDs for chat input/output components in decisionFlow.spec.ts
* test: update test IDs for input/output components in generalBugs-shard-5.spec.ts
* Update styleUtils.ts
* 🐛 (typescript_test.yml): increase the maximum shard count to 40 to improve test distribution and efficiency
* fix FE Tests Input output component Ids
* [autofix.ci] apply automated fixes
* ✅ (filterEdge-shard-1.spec.ts): update test to log error message when element is not visible before asserting visibility
* ✅ (notifications.spec.ts): update test selectors for better clarity and consistency in the notifications feature test suite
* 🐛 (typescript_test.yml): adjust the maximum shard count to 10 to prevent exceeding the limit and optimize test execution.
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: deon-sanchez <deon.sanchez@datastax.com>
Co-authored-by: Deon Sanchez <69873175+deon-sanchez@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* models category
* [autofix.ci] apply automated fixes
* change paths
* [autofix.ci] apply automated fixes
* test: comment out visibility check for disclosure-embeddings
* test: comment out visibility check for disclosure-embeddings
* test: update selector for OpenAI language models in decision flow integration test
* test: update selector for NVIDIA models to use language model identifier
* test: update selector for OpenAI language models in regression test
* models category (#8238)
* Update styleUtils.ts
* Update test_xai.py
* test: update selectors for OpenAI language models to use 'languagemodelsOpenAI'
* Update test_embedding_model_component.py
* test: update test IDs for NVIDIA and Ollama language models to use 'languagemodels'
* test: update test IDs to use 'languagemodels' prefix for consistency
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Deon Sanchez <69873175+deon-sanchez@users.noreply.github.com>
Co-authored-by: deon-sanchez <deon.sanchez@datastax.com>
* feat: implement dropdown for selecting outputs in GenericNode component
* fix: clean up commented code in GenericNode component
* feat: add output selection handling in GenericNode component
* feat: enhance output selection handling in GenericNode component
* fix: Update test assertions for component hover and skip failing group tests
* feat: Add outputName prop to OutputComponent and update related tests
* fix: Adjust test timeouts and skip failing group component tests
* test: Update integration tests for decision flow and starter projects
* fix: Update chat input/output integration tests for improved element interactions
* fix: increase timeout values in Playwright configuration for better stability
* feat: enhance GenericNode with memoization and improved output handling
* feat: refactor NodeOutputs component for improved output selection and handling
* feat: add HiddenOutputsButton and improve output rendering in GenericNode
* feat: refactor NodeOutputs component to use keyPrefix for improved output handling
* feat: update output handling in GenericNode to conditionally display hidden outputs
* fix: streamline loop component test interactions and improve selector usage
* delete data and transfer data to dataframe
* [autofix.ci] apply automated fixes
* create a new bundle for search
* fix type for dataframe
* add data_to_dataframe function
* [autofix.ci] apply automated fixes
* fix test because of files movement
* delete message and text
* json update
* fix search yahoo test
* fix run_model output type
* add tavily bundle
* move other tools
* [autofix.ci] apply automated fixes
* add tavily bundle
* move other tools
* [autofix.ci] apply automated fixes
* update python repl import path
* autofix
* fix test
* fix frontend test
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
* delete data and transfer data to dataframe
* [autofix.ci] apply automated fixes
* create a new bundle for search
* fix type for dataframe
* add data_to_dataframe function
* [autofix.ci] apply automated fixes
* fix test because of files movement
* delete message and text
* json update
* fix search yahoo test
* fix run_model output type
* fix test errors
* fix test errors
* fix test error
* try fix frontend tests
* test fix
* [autofix.ci] apply automated fixes
* move serp search
* fix test
* fix test
* fix test to pass ruff style check
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>