* 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
* 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>