* Updated image to show entire grid
* Changed swatch index to use id
* Updated swatch index to not have negative numbers
* Updated starter examples to have the gradients already defined
* Make forked flow have the same color as the template
* refactor: update MemoryComponent display name and improve description
* Refactor `update_build_config` method to enhance provider-specific configuration handling in `Instagram Copywriter.json`
* Refactor `update_build_config` method to support provider-specific updates in `Market Research.json`
* Update `MemoryComponent` display name to "Message History" in starter template JSON
* Refactor `update_build_config` method to support component-specific updates in `Research Agent.json`
* Refactor `update_build_config` method to enhance provider-specific configuration handling in `SaaS Pricing.json`
* Refactor import path for MemoryComponent in starter project JSON files
* Update starter templates with enhanced build config logic and improved Yahoo Finance tool description
* Update import path for MemoryComponent in Travel Planning Agents template
* Update `update_build_config` method to call provider-specific `update_build_config` methods if available
* 📝 (select-custom.tsx): Update styling in SelectItem component to improve consistency and readability
📝 (nodeToolbarComponent/index.tsx): Refactor SelectItem components to include consistent width styling for better alignment and visual appeal
* ✨ (nodeToolbarComponent/index.tsx): Center align select items by adding 'm-auto' class to improve visual presentation.
* ✨ (GenericNode/index.tsx): Add functionality to toggle show more options in GenericNode component
🔧 (nodeToolbarComponent/index.tsx): Pass setOpenShowMoreOptions function to toggle show more options in NodeToolbarComponent
📝 (components/index.ts): Update nodeToolbarPropsType to include setOpenShowMoreOptions function for better type checking
* ✨ (nodeToolbarComponent/index.tsx): Update styles and dimensions for better UI consistency and alignment in the Node Toolbar Component.
* 🔧 (nodeToolbarComponent/index.tsx): Remove unnecessary 'm-auto' class from SelectItem components to improve code readability and reduce redundancy.
* 📝 (select-custom.tsx): Update styling in SelectItem component to improve consistency and readability
📝 (nodeToolbarComponent/index.tsx): Refactor SelectItem components to include consistent width styling for better alignment and visual appeal
* ✨ (nodeToolbarComponent/index.tsx): Center align select items by adding 'm-auto' class to improve visual presentation.
* ✨ (GenericNode/index.tsx): Add functionality to toggle show more options in GenericNode component
🔧 (nodeToolbarComponent/index.tsx): Pass setOpenShowMoreOptions function to toggle show more options in NodeToolbarComponent
📝 (components/index.ts): Update nodeToolbarPropsType to include setOpenShowMoreOptions function for better type checking
* ✨ (nodeToolbarComponent/index.tsx): Update styles and dimensions for better UI consistency and alignment in the Node Toolbar Component.
* 🔧 (nodeToolbarComponent/index.tsx): Remove unnecessary 'm-auto' class from SelectItem components to improve code readability and reduce redundancy.
* ✨ (actionsMainPage-shard-1.spec.ts): Update test descriptions to use "Document Q&A" instead of "Document QA" for consistency
📝 (Basic Prompting.spec.ts, Blog Writer.spec.ts, Document QA.spec.ts, Dynamic Agent.spec.ts, Hierarchical Agent.spec.ts, Memory Chatbot.spec.ts, Sequential Task Agent.spec.ts, Simple Agent.spec.ts, Travel Planning Agent.spec.ts, Vector Store.spec.ts): Remove 'skip' from test descriptions to enable running the tests.
* 🔧 (typescript_test.yml): Update shardIndex and shardTotal values to run tests on a single shard for simplicity
📝 (typescript_test.yml): Comment out unused test commands to improve readability and reduce confusion
✅ (starter-projects.spec.ts): Remove skip from test case to ensure it is executed as intended
* new components improvements
* ✨ (create_data.py): introduce a new 'legacy' attribute to mark the component as legacy code
* [autofix.ci] apply automated fixes
* chaing langchain hub name
* 📝 (run_flow.py): remove beta flag from RunFlowComponent to indicate it is no longer in beta
📝 (extract_key.py): remove beta flag from ExtractDataKeyComponent to indicate it is no longer in beta
* Updated generic icon component to load icons if already not lazy imported
* [autofix.ci] apply automated fixes
* merge fix
* 📝 (store_message.py): add 'advanced' parameter to the 'Session ID' field to indicate it is an advanced setting
* [autofix.ci] apply automated fixes
* new components sweep
* [autofix.ci] apply automated fixes
* fix tests
* [autofix.ci] apply automated fixes
* ✨ (filterSidebar.spec.ts): Update test descriptions to reflect the correct component names for better clarity and maintainability
♻️ (freeze.spec.ts): Refactor test to use the correct component name for consistency and readability
♻️ (stop-building.spec.ts): Refactor test to use the correct component name for consistency and readability
♻️ (generalBugs-shard-9.spec.ts): Refactor test to use the correct component name for consistency and readability
♻️ (filterEdge-shard-1.spec.ts): Refactor test to use the correct component name for consistency and readability
* style: Improve YahooFinanceToolComponent description and code readability
Enhance clarity in the component's purpose and refine inline formatting to boost maintainability.
---------
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: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* Add session_id and graph parameters to flow function and update graph initialization logic
* Enhance `FlowTool` with user and session context in graph creation
* Add session_id and graph parameters to flow execution functions
* update setup of templates to update components considering it's type instead of the display name
* Add Amazon Bedrock as a model provider and update agent component logic
- Added "Amazon Bedrock" to the list of model provider options in multiple JSON files.
- Updated the `AgentComponent` class to include `get_model_name` for retrieving the model name.
- Changed the `tools` field requirement to optional in several JSON files.
- Added a `legacy` field to the Blog Writer JSON configuration.
* update main descriptions
* Skip tests for Basic Prompting, Blog Writer, Document QA, Dynamic Agent, Hierarchical Tasks Agent, Memory Chatbot, Sequential Task Agent, Simple Agent, Travel Planning Agent, and Vector Store RAG
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* update in update_build_config
added support for dynamic models.
* [autofix.ci] apply automated fixes
* Add type checks for 'field_name' and 'prefix' in agent config update
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: Nadir J <31660040+NadirJ@users.noreply.github.com>
* update templates
* fix ghost edges bug
* update templates
* [autofix.ci] apply automated fixes
* update naming and category
* remove unit tests for starter projects API in v1
* add starter projects back in
* Add unit test for GET /api/v1/starter-projects/ endpoint in FastAPI
* add rodrigo's updates
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* Updated settings page sidebar to new sidebar
* Updated old home page to still work
* Fix padding on collapsed sidebar
* Fix able to drag on input component
* Fixed pagination position on big screens
---------
Co-authored-by: Cristhian Zanforlin Lousa <cristhian.lousa@gmail.com>
🔧 (traditional-search-metadata.ts): Simplify filtering logic to only consider item metadata for search
🔧 (index.tsx): Adjust search threshold value to improve search accuracy
* refactor: Update DataFilterComponent inputs to use StrInput instead of MessageInput
* refactor: Update DataFilterComponent inputs to use MessageTextInput instead of StrInput
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* added model utils
model utils to find model name
* adding deafult
updated the logic
* Refactor get_model_name function to simplify logic
---------
Co-authored-by: anovazzi1 <otavio2204@gmail.com>
* Update `typer` dependency to version 0.13.0 in `pyproject.toml`
* refactor: Simplify exception handling in the CLI
* Enhance lifespan function with clean shutdown and logging improvements
* Add graceful shutdown handling for SIGTERM and SIGINT signals
- Introduce signal handlers to manage SIGTERM and SIGINT for graceful server shutdown.
- Update exception handling to ensure processes terminate properly and log shutdown events.
- Modify server run logic to support signal-based shutdowns, improving reliability.
---------
Co-authored-by: Nadir J <31660040+NadirJ@users.noreply.github.com>
* update model list as constants
update model list as constants
Add default value to Secret string variables
* Update amazon_bedrock.py
load_from_db false for session_token
* Update model_input_constants.py
aws bedrock added
* Add module parameter to build_component_instance_for_tests function for dynamic component retrieval
* Enhance component test base with detailed version mapping and error handling
- Introduced `VersionComponentMapping` TypedDict for structured version mapping.
- Updated `FILE_NAMES_MAPPING` to use a list of `VersionComponentMapping`.
- Added comprehensive error messages for missing or invalid mappings in `test_all_versions_have_a_file_name_defined`.
- Improved `test_component_versions` with detailed exception handling and error reporting.
- Ensured `component_class` is defined before running tests.
* Refactor FILE_NAMES_MAPPING to use a list of dictionaries for better structure and readability in test_prompt_component.py
* refactor: Enhance ComponentTestBase with fixture validation and improved version handling
* Refactor test setup in `test_prompt_component.py` to use fixtures for improved modularity and readability
* fix: Add PlaceholderGraph NamedTuple and handle 'graph' attribute in Component class
* Add attribute checks for 'graph' and 'vertex' to prevent errors
* Handle missing 'graph' attribute in 'store_message' method to prevent errors.
* Handle missing 'graph' attribute in Message creation to prevent errors
* Handle missing 'graph' attribute in chat message flow ID assignment
* Add component code to test instance creation and error logging
* Update SUPPORTED_VERSIONS to remove older versions
* test: add unit tests for ChatInput and TextInputComponent
Implement comprehensive tests for both ChatInput and TextInputComponent to ensure proper functionality, including message responses and handling of various input scenarios. This enhances reliability and aids in future development.
* test: add unit tests for ChatOutput and TextOutputComponent
Implement comprehensive tests for ChatOutput and TextOutputComponent, validating message responses, source properties, and behavior with various input types to ensure reliability and consistency across output components.
* Update JSON files to improve code readability and add missing info fields
- Added missing `info` fields to various input components to provide better context and descriptions.
- Improved code readability by ensuring consistent formatting and structure across JSON files.
- Updated `message_response` method to handle cases where `graph` attribute might not be present.
- Enhanced `build_vectorize_options` method to set `authentication` and `parameters` to `None` if no values are provided.
- Refined `AgentComponent` to include `info` for `agent_llm` and other fields, improving clarity on their purpose.
* Refactor: update attribute access to use private `_vertex` attribute
* test: enhance TextInputComponent tests and update properties assertions
* Remove redundant unit tests for output components in test_output_components.py
* feat: add PlaceholderGraph for backwards compatibility and enhance Component attributes
* fix: improve run_id assignment and ensure user_id is a string in PlaceholderGraph
* Add check for non-empty incoming_edges in get_properties_from_source_component
* Fixed flow on top of sidebar
* Fixed get started templates design and bg image
* Fixed build button overflowing
* Changed truncation of list
* Fixed colors on collapse buttons
* Fixed is mobile hook and fixed sidebar not reappearing after hiding it in small screens
* Changed to max char 110
* Added bg background for icon on Agent
* Changed system prompt description
* Added toggle to node toolbar for tool mode
* Removed copy from node toolbar
* Fixed node last output border
* Removed beta tag from agent
* remove text foreground from grid
* updated paginator style
* Fixed pagination element disposition on main page
* Fixed node icon
* Removed storeComponent from pagination
* removed storeComponent from paginator type
* Fixed canvas dots color
* Changed pagination design
* fixed gap
* Fix minimized state on components that have a custom icon
* Fixed exibition of flow running state to not make the header jump
* Fixed starter flows
* update model list as constants
update model list as constants
Add default value to Secret string variables
* Update amazon_bedrock.py
load_from_db false for session_token
* feat: Add durationStore for managing chat durations and intervals and update duration display logic to use store
* [autofix.ci] apply automated fixes
* Expand `recursive_serialize_or_str` to support `BaseModelV1` subclasses
* fix: Update duration calculation for event handlers
Improve accuracy of duration measurement in event handlers by centralizing the calculation method. This ensures consistent timing across different events and enhances the reliability of event processing.
* refactor: improve duration calculation logic
Enhance the duration calculation by clearly handling both integer and float timestamps. This ensures accurate duration tracking and simplifies the code structure, improving maintainability and readability.
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: Cristhian Zanforlin Lousa <cristhian.lousa@gmail.com>
📝 (applies.css): Update border radius value to use specific pixel value for consistency
📝 (index.css): Add new custom CSS variables for datatype orange and its foreground color
📝 (styleUtils.ts): Add new node color for BaseChatMessageHistory to be displayed in orange
* add new youtube transcripts component
* [autofix.ci] apply automated fixes
* ✨ (youtube-transcripts.spec.ts): add integration test for youtube transcripts component in the frontend to ensure user can interact with it successfully
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>