* Fixed hidden to be output.hidden
* Fixed disabled Hide button to look disabled
* Fixed lastInput being true to all fields
* Changed text
* fixed multiple renders
* fixed show hidden
✨ (auto-login-off.spec.ts): update text selector to match new welcome message for improved test accuracy
♻️ (user-flow-state-cleanup.spec.ts): refactor test to use the new welcome message selector for consistency and accuracy
📝 (autoLogin.spec.ts): add import statement for awaitBootstrapTest utility function to fix test failures due to missing import
* refactor: streamline node update logic in setup.py
Simplified the conditions for updating project components by consolidating checks for tool mode and output types. This enhances readability and maintainability of the code while ensuring that updates are applied correctly based on the latest component versions.
* fix: refine field removal logic in update_projects_components_with_latest_component_versions
* feat: add 'description' to NODE_FORMAT_ATTRIBUTES in constants.py
Enhanced the NODE_FORMAT_ATTRIBUTES list by including 'description' to improve metadata handling for nodes.
---------
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
* Add Tavily search parameters and Extract API component
* [autofix.ci] apply automated fixes
* Fix style issues flagged by Ruff
* fix Ruff Style Check issues
* [autofix.ci] apply automated fixes
* Fix linting issue reported by Ruff
* fix inlcude and exclude domains
* Fix linting issue reported by Ruff
* fix: update descriptions and input types across multiple starter project JSON files
- Changed "Tavily AI" to "Tavily Search" in descriptions for consistency.
- Updated input types for several API keys to be empty arrays instead of containing "Message".
- Added new fields such as "chunks_per_source", "days", "exclude_domains", "include_domains", and "include_raw_content" to enhance functionality in various projects.
- Adjusted the "description" field in the "Youtube Analysis" project for clarity.
---------
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: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* Updated model filtering to avoid hard coding of named based exclusions
* Stylistic adjustments
* Remove accidentally added package-lock.json from PR
* revert removal of package lock
* Modifications to the UT and changed component to be more async
* [autofix.ci] apply automated fixes
* Lint
---------
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* menubar and hook optimizations
* sidebar optimizations
* [autofix.ci] apply automated fixes
* cleanup
* [autofix.ci] apply automated fixes
* sidebare button optimization
* 🐛 (typescript_test.yml): increase the maximum shard count to 40 to improve test distribution and performance
* Get state on focus instead of on keypress
* revert test shard change
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* add pyinstrument and fastapi wrapper
* Truncate vertex build responses
* Truncate vertex response and transactions
* [autofix.ci] apply automated fixes
* Update test for vertex response structure to reflect new truncation logic
* Refactor profiling middleware to use environment variable for configuration
* Update test for vertex response structure to correct truncation logic
* move pyinstrument to dev dependencies
* Update serialization test to include max_items parameter for list truncation
* remove profiling from this PR, fix constants
* [autofix.ci] apply automated fixes
* Add asyncio configuration options to pyproject.toml
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* refactor: enhance event polling to retrieve all available events and return in NDJSON format
Updated the event polling logic to collect all available events from the queue instead of just one. The response format has been changed to NDJSON, allowing multiple events to be returned in a single response. Improved error handling for timeouts by returning an empty response instead of raising an error.
* refactor: improve NDJSON event processing in build polling
Enhanced the event polling logic to handle NDJSON responses by processing multiple events in a single fetch. Updated the response handling to read the response as text, split it into individual JSON objects, and process each event accordingly. This change improves the efficiency of event handling and maintains a consistent polling interval.
* fix: change event list type from list[str] to list in get_flow_events_response
* refactor: enhance event stream consumption with timeout and error handling
Updated the consume_and_assert_stream function to include a timeout for processing events and improved error handling for JSON parsing failures. Added logging for better debugging and tracking of processed events. Adjusted the event validation logic to ensure both the first and last expected events are present.
* refactor: enhance event polling logic with improved limits and JSON validation
Updated the event polling mechanism to include configurable limits for total events and empty polls, along with a timeout for requests. Enhanced JSON validation for individual events and added logging for better debugging of polling behavior. This refactor aims to improve robustness and maintainability of the event consumption process.
* refactor: update polling interval and streamline event handling
Modified the polling interval constant to improve responsiveness and adjusted event handling logic in the get_flow_events_response function to simplify the processing of event values. This change enhances the efficiency of event consumption and maintains a consistent approach to handling NDJSON responses.
* refactor: simplify event retrieval in get_flow_events_response
Removed unused event_id and put_time variables from the event retrieval logic in the get_flow_events_response function. This change streamlines the code and enhances readability while maintaining the functionality of event handling.
* refactor: update consume_and_assert_stream to use asyncio.wait_for for timeout handling
Modified the consume_and_assert_stream function to utilize asyncio.wait_for for managing timeouts in event processing. This change improves compatibility with Python 3.10 and enhances the robustness of the event consumption logic while maintaining existing functionality.
* Changed backend to contain readonly props for tools
* Show name editing for not readonly tools
* Fixed edit-tools test
* Updated command to use "uvx" instead of "npx" for stability
* Fixed mcp code for authentication on auto_login=false
* removed args from component desc
* [autofix.ci] apply automated fixes
* making tool mode inputs the priority.
* fix: Clean up comments and whitespace in component_tool.py
* Fix column name
* update the dispaly name in composio
* fix format
* ✨ (get-started-progress.tsx): add data-testid attribute to improve testability and accessibility
🔧 (user-progress-track.spec.ts): update test assertions to use the new data-testid attribute for get started progress title
---------
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: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* Update anthropic.py
* updates to templates
* [autofix.ci] apply automated fixes
* update the templates
* Refactor Anthropic API URL handling to use a constant. Introduced DEFAULT_ANTHROPIC_API_URL in anthropic_constants.py and updated references in anthropic.py for improved maintainability and clarity.
* [autofix.ci] apply automated fixes
* Refactor AnthropicModelComponent to streamline API URL handling. Removed unnecessary base_url checks and ensured consistent use of DEFAULT_ANTHROPIC_API_URL for improved clarity and maintainability.
* [autofix.ci] apply automated fixes
* Fix base_url check in update_build_config to ensure key existence before accessing value
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* ♻️ (appHeaderComponent/index.tsx): remove unused variables and condition for isEmpty to simplify the code and improve readability
* 📝 (empty-page.tsx): Update page title and descriptions to reflect the new branding and messaging for Langflow
🗑️ (github-bg.png): Delete unused background image file from the frontend assets folder
* 📝 (empty-page.tsx): update text size class from text-xs to text-sm for better readability
* 📝 (empty-page.tsx): Update EMPTY_PAGE_DESCRIPTION to remove extra period for consistency
📝 (empty-page.tsx): Increase font size for text elements for better readability and user experience
* 🐛 (empty-page.tsx): fix incorrect user tracking event name from "discord_joined" to "discord_clicked" to accurately track user actions
* ♻️ (get-started-progress.tsx): refactor height value from pixels to rem units for better consistency and maintainability
* Fix use drag and drop to check for playground page
* fix chat input to change file only if enable_image_on_playground is enabled and its on playground page
* change input wrapper to show upload file if constant is enabled
* changed onDrop to not allow sending files if enable_image_on_playground is disabled
* refactor: Update Simple Agent configuration and enhance tool integration
- Changed source and target handles to improve data flow between components.
- Updated input types for better compatibility with new data structures.
- Enhanced tool metadata and descriptions for clarity.
- Adjusted layout dimensions and properties for improved UI consistency.
- Updated agent and tool identifiers to reflect recent changes in the system.
* refactor: Update Invoice Summarizer project configuration and component identifiers
- Changed component IDs and source/target handles for improved data flow.
- Updated tool and agent identifiers to align with recent system changes.
- Adjusted layout properties and descriptions for better clarity and consistency.
- Enhanced metadata for tools and components to facilitate better integration.
* refactor: Update Pokédex Agent configuration and component identifiers
- Changed component IDs and source/target handles to enhance data flow.
- Updated input types and tool identifiers for improved compatibility with recent system changes.
- Enhanced layout properties and descriptions for better clarity and consistency.
- Adjusted metadata for tools and components to facilitate better integration.
* refactor: Update Search Agent configuration for improved compatibility
- Removed input types for the OpenAI API Key to streamline configuration.
- Added new model options including "gpt-4.1", "gpt-4.1-mini", and "gpt-4.1-nano" for enhanced flexibility.
- Updated default model value to "gpt-4.1" for better alignment with current capabilities.
* refactor: Update Financial Agent configuration and component identifiers
- Changed component IDs and source/target handles to enhance data flow.
- Updated tool and agent identifiers for improved compatibility with recent system changes.
- Adjusted layout properties and descriptions for better clarity and consistency.
- Enhanced metadata for tools and components to facilitate better integration.
* refactor: Update Gmail Agent configuration for improved model options
- Removed input types for the OpenAI API Key to streamline the configuration.
- Added new model options including "gpt-4.1", "gpt-4.1-mini", "gpt-4.1-nano", and "o1" for enhanced flexibility.
- Updated default model value to "gpt-4.1" for better alignment with current capabilities.
* refactor: Update Invoice Summarizer project configuration for improved clarity
- Standardized formatting of source and target handles for consistency.
- Adjusted score representation for better readability.
- Removed unnecessary hidden properties to streamline configuration.
- Enhanced metadata for components to facilitate better integration.
* refactor: Standardize source and target handles in agent configurations
- Updated formatting of source and target handles in both Pokédex and Simple Agent configurations for improved consistency.
- Removed unnecessary hidden properties to streamline the configuration.
- Enhanced metadata for components to facilitate better integration and clarity.
* refactor: Streamline OpenAI API Key configuration and enhance model options
- Removed input types for the OpenAI API Key to simplify the configuration.
- Added new model options including "gpt-4.1", "gpt-4.1-mini", "gpt-4.1-nano", and "o1" for increased flexibility.
- Updated default model value to "gpt-4.1" for better alignment with current capabilities.
* refactor: Simplify OpenAI API Key configuration and expand model options
- Removed input types for the OpenAI API Key to streamline the configuration.
- Added new model options "gpt-4.1", "gpt-4.1-mini", "gpt-4.1-nano", and "o1" for enhanced flexibility.
- Updated default model value to "gpt-4.1" for better alignment with current capabilities.
* refactor: Update YouTube Analysis project configuration for improved model options
- Removed input types for the OpenAI API Key to simplify the configuration.
- Added new model options "gpt-4.1", "gpt-4.1-mini", "gpt-4.1-nano", and "o1" for enhanced flexibility.
- Updated default model value to "gpt-4.1-mini" for better alignment with current capabilities.
* fix: update tools in Travel Planning Agents
* update mutateTemplate to be debounced by nodeId
* update fetch data on mount to fetch node data if its tool mode
* Update mutateTemplate instances to contain nodeId
* update starter projects to use gpt-4.1-mini model
* fix: update test expectation for Portfolio Website Code Generator
---------
Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
Co-authored-by: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com>
* fix streaming for anthropic models and optimise the _extract_output_text
* Update src/backend/base/langflow/base/agents/events.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix: improve handling of AIMessageChunk state and output text extraction
* fix: change ValueError to TypeError in output text extraction
* fix: ensure output text is appended only if it is valid and agent message text is a string
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>