* Fix node inputs not being captured, add runtime inputs as well to be captured by the tracers properly
* Fix outputs missing on traces due to them being reset before ending the traces because of race conditions
* Fallback to project name if none
* Remove 'dynamic inputs' to stop sending the component code every time
* fix: Add async flow name retrieval in graph building process
* fix: Retrieve flow name from database when building graph from data
* Fix: make session.exec call awaitable in chat API
* Refactor `_get_flow_name` to manage session internally
* Refactor session handling to use `async_session_scope` in chat API
* Refactor test cases to remove unnecessary async usage in mock functions
* [autofix.ci] apply automated fixes
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* fix: ensure unique flow names when assigning to superuser
* refactor: Creates a new function with logic to rename flows
* refactor: simplify function
* Extract STARTER_FOLDER constants to a separate module
* Filter orphaned flows by excluding those in the starter folder
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* feat: Add configuration options for maximum transactions and vertex builds retention
* Add functions to clean up old transactions and vertex builds in the database
- Implement `clean_transactions` to delete transactions exceeding the configured limit.
- Implement `clean_vertex_builds` to delete vertex builds exceeding the configured limit.
- Integrate cleanup functions into the service initialization process.
* Add error handling and logging for cleanup tasks in utils.py
- Wrap transaction and vertex build cleanup operations in try-except blocks.
- Log success and error messages for cleanup operations.
- Rollback session on exceptions without re-raising, as these are cleanup tasks.
- Adjust service initialization order to ensure proper setup.
* Reorder setup and cleanup tasks in database initialization process
* fix: Update type hints for settings_service in cleanup functions
* Remove execution options in cleanup functions
* Handle specific exceptions during cleanup tasks in utils.py
* Use `col` for column references in delete statements to improve SQL query clarity.
* add deprecation flag on base upload flow route
* add deprecation flag on base upload flow route
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* Add pyproject.toml config flag to ruff commands in Makefile
* Update ruff exclude path in pyproject.toml
* Remove unused TYPE_CHECKING import from api_key.py
* Remove redundant config flag from 'ruff check' command in Makefile
* expanding download folder to zip file
* run formatter
* Update src/backend/base/langflow/api/v1/folders.py
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* changing model to flowRead
* run formatter
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* Use `typing_extensions.override` for compatibility with older Python versions
* Format starter projects
* Fix async call in get_lf_version_from_pypi by adding 'await'
* upddate in groq models
groq models updated
* [autofix.ci] apply automated fixes
* Update model_input_constants.py
remove groq prefix
* Update groq.py
updated Groq Model list to be also a backup list if the API call fails, also at start.
* Update groq.py
format issue solved
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* Added auto upgrade for list of AIML models, minor fixes for AIML component
* fix minor issues
* Fix minor issues
* Fix embeddings
* Resolve conflicts
* refactor: clean up imports and improve type hints in AIML components
* Fix import path for AIMLEmbeddingsImpl in aiml.py
* Fix update_build_config
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* Remove unnecessary exception logging in API key decryption
* Removes unnecessary exception logging in services
* fix: Change debug logging to error logging for user last login update
* fix: Enhance error logging to include exception details in various services
* fix: CrewAI-based flows with no extra openai
* [autofix.ci] apply automated fixes
* Clean up the location of the crewai model processing
* [autofix.ci] apply automated fixes
* Properly subclass the tasks and agents method
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* feat: Add support for dynamic providers in Astra DB Comp
* [autofix.ci] apply automated fixes
* Make sure we return a default dict
* Rename params in starter template
* Update test_vector_store_rag.py
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* Enhance migration script with column existence check and improved error handling
* Refactor migration script to use `column_exists` with explicit parameters
* Use AsyncSession for user management
* Simplify check_key
* Don't trigger blockbuster on settings service initialize
* Fix mypy
* Fix api key update_total_uses
* Fix auto-login
* Revert making CustomComponent.list_key_names async
* Fixed output and input radius and icons colors when on tool mode
* Replaced output format to be camel case
* Fix expand not appearing after minimize and change code
* Refactor chatView component and add FlowRunningSqueleton
- Refactor chatView component to import useMemo from react
- Add FlowRunningSqueleton component to display flow running indicator
- fix gagging on flow running
* format code
* Fixed fuzzy search order
* remove console log
---------
Co-authored-by: anovazzi1 <otavio2204@gmail.com>
Co-authored-by: Cristhian Zanforlin Lousa <cristhian.lousa@gmail.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
* 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