* fix: Hybrid search enabled as long as reranker is enabled
* Back to original hybrid
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* Update py_autofix.yml
* feat: handle case when n_messages is zero in MemoryComponent
* agent memory support n_message zero
* Revert "Update py_autofix.yml"
This reverts commit 7aed45e98602f57c2d6d33532080bad30cf02507.
* fix: cast stored messages to Data type in retrieve_messages method
---------
Co-authored-by: tianzhipeng <tzpabc@gmail.com>
* Add a logic to skip field reset if curl is not used
* Remove the else clause to avoid setting all other fields to advanced
* Fix return type
* Add a logic to avoid setting a field to advanced when use_curl is not defined
* Refactor else logic of _update_method_fields and _update_curl_mode
* Rollback _update_method_fields changes
* Return the current build config instead of an empty dict
---------
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* fixed styling
* Enabled header checkbox selection
* Changed styling of selection
* Implemented bulk downloading and deleting
* Added delete bulk hook
* Added download bulk hook
* Fix backend to send extension in download single file
* Fix hook to download single file directly
* Added header and selection handling
* Added delete confirmation
* [autofix.ci] apply automated fixes
* Fixed selection with shift
* Show disabled files
* Show disabled files as not clickable
* Changed color of icon when disabled
* Implemented pressed shift handling
* Fixed shift selection and disabled text selection when holding shift
* Created test for bulk selection on files modal
* add test of disabled components in file component
* Fixed files page test to include bulk editing test
* removed ring on focus visible
* Changed delete files having the right select
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* Fixed not being able to edit options because of overflow in Table Node Cell Editor
* Updated structured output to not have Multiple selection since it's enabled by default
* 🔧 (use-get-messages-polling.ts): refactor enqueuePolling method to simplify logic and improve readability
🔧 (use-get-messages-polling.ts): refactor startNextPolling method to remove unnecessary code and improve efficiency
🔧 (use-get-messages-polling.ts): refactor removeFromQueue method to simplify and improve maintainability
🔧 (use-get-messages-polling.ts): refactor useGetMessagesPollingMutation to handle stopping polling and removing from queue
🔧 (use-get-transactions.ts): add early return to getTransactionsFn to handle empty id case
🔧 (use-get-voice-list.ts): refactor useGetVoiceList function to handle empty elevenlabsApiKey case and improve readability
🔧 (audio-settings-dialog.tsx): update useGetVoiceList call to pass elevenLabsApiKey as argument
* queues should hold payloads not strings
* ✨ (use-get-global-variables.ts): add setGlobalVariablesEntities function to store global variables entities for use in the application
✨ (audio-settings-dialog.tsx): introduce debounced function to update ElevenLabs API key in global variables entities
📝 (globalVariables.ts): add setGlobalVariablesEntities function to the global variables store for managing entities
📝 (index.ts): define GlobalVariable type for global variables entities in the store
* ✨ (frontend): add support for extracting flowId from URL query parameters to allow direct linking to specific flow logs.
---------
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* add validation for node js for npx based packages
* [autofix.ci] apply automated fixes
* Update mcp_component.py
* Update mcp_component.py
* Update mcp_component.py
* Update util.py
* [autofix.ci] apply automated fixes
* Update util.py
* fix format errors
* merge
* fix async and format issues
* wacky idea
* bug: error on match only
* [autofix.ci] apply automated fixes
* fix error: Name "env" already defined on line 225 [no-redef]
* refactor: update MCPStdioClient to use async file handling for stderr logging
- Replaced synchronous tempfile usage with async version using aiofiles.
- Ensured proper type casting for the temporary file name.
- Updated flush operation to be asynchronous for improved performance.
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: phact <estevezsebastian@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* Update python_repl_core.py
Changed the input type to MultilineInput to allow code to be received from another component.
* [autofix.ci] apply automated fixes
* Update python_repl_core.py
* Update python_repl_core.py
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
* updated vite-env to stop svg loading lint errors
* added scroll direction package
* added new Chat Scroll Anchor
* removed scroll handling from chat message
* added scroll handling on chat view
* removed console.log
* Removed validator from table and added on messagebase
* removed validator from model
* changed to scroll down after error
* [autofix.ci] apply automated fixes
* fixed not scrolling to bottom
* fix constant
* refactor: update MessageTable model configuration for validation and type allowance
* refactor: update properties type in MessageTable model and adjust validation logic
* refactor: update content_blocks type in MessageTable model to allow dict or ContentBlock
* Fix playground failing when it's Run Flow
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
* 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>
* 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>