Commit graph

16,060 commits

Author SHA1 Message Date
Mendon Kissling
874002a03b
docs: v2/files does not work for images (#8512)
update-for-v2-files
2025-06-12 14:48:44 +00:00
Gabriel Luiz Freitas Almeida
ab1ed8ea01
docs: add comprehensive cursor guidelines and rules for development practices (#8401)
* Update cursor rules with specific backend, frontend, docs

* Update image example

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* update image example

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Refactor frontend development guidelines: streamline sections, remove outdated icon development instructions, and update checklist for clarity and consistency.

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-06-12 12:51:18 +00:00
Gabriel Luiz Freitas Almeida
34c55f14b4
chore(ci): update workflow to use astral-sh/setup-uv@v6 with Python version (#8508) 2025-06-12 09:30:29 -03:00
dependabot[bot]
810a1158f2
build(deps-dev): bump brace-expansion from 1.1.11 to 1.1.12 in /src/frontend (#8500)
* build(deps-dev): bump brace-expansion in /src/frontend

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.11 to 1.1.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/1.1.11...v1.1.12)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* [autofix.ci] apply automated fixes

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-12 11:34:00 +00:00
Jordan Frazier
e739db5143
fix: update model output type to message instead of string (#8489)
* Changed conversion methods to support the fact that LLM hint on a Message return type but return a string, causing a runtime error while converting types

* Convert to Message for model component text response

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

---------

Co-authored-by: Pedro Pacheco <pedro.pacheco@yahoo.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-12 11:23:25 +00:00
Cristhian Zanforlin Lousa
a11b3dbce7
test: remove RetrieverTool connection regression test (#8502) 2025-06-11 21:11:39 -03:00
Gabriel Luiz Freitas Almeida
7b687a0e7a
refactor: load components by importing them directly (#8395)
* refactor: update default behavior for components path in Settings class

* Set components path to an empty list when no value is provided, improving clarity in logging.
* Remove redundant addition of BASE_COMPONENTS_PATH when it is not already included.

* feat: Implement importing of Langflow components

* Added `get_langflow_components_list` to asynchronously fetch built-in components using introspection and pkgutil.
* Introduced `_get_langflow_components_list_sync` for synchronous processing of component classes.
* Updated `get_and_cache_all_types_dict` to merge fetched components into the cache.
* Enhanced error handling during module imports and component processing.

* feat: Enhance component handling in custom utils for better flexibility

* refactor: Simplify component retrieval logic and enhance error handling

* refactor: Remove unnecessary 'required_inputs' field from multiple starter project JSON files

* refactor: Change error handling to warning for component instantiation failures

* refactor: Improve component type checking in get_component_instance and run_build_config functions

* refactor: Update subclass check for custom_component in run_build_config function

* refactor: Update component name retrieval logic to prioritize class name

* refactor: Replace settings service call with direct BASE_COMPONENTS_PATH in test_get_all

* refactor: Update required inputs and improve model name info across starter projects

* [autofix.ci] apply automated fixes

* 📝 Add docstrings to `fix-component-loading` (#8397)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Build and log fixes

* refactor: Improve type checking for custom component instances in `get_component_instance`

* refactor: Enhance type checking for custom components in `run_build_config`

* refactor: Clean up docstrings in component loading functions for clarity

* refactor: Rename `get_langflow_components_list` to `import_langflow_components` for clarity

* refactor: Exclude deactivated modules and improve class checking in component loading

* test: Add component differences analysis for import_langflow_components and aget_all_types_dict

* [autofix.ci] apply automated fixes

* refactor: Simplify assert statements and improve logging in component loading tests

* [autofix.ci] apply automated fixes

* refactor: Consolidate __all__ declaration for retriever components

* refactor: Improve comments for clarity in run_build_config function

* [autofix.ci] apply automated fixes

* refactor: Enhance module validation logic in _get_langflow_components_list_sync function

* refactor: Update debug log message for clarity in get_and_cache_all_types_dict function

* refactor: Enhance parallel processing of Langflow components import and improve logging

* refactor: Improve performance testing by adding warm-up runs and clarifying output messages

* refactor: Improve assertion clarity in component loading tests and add performance benchmark

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* [autofix.ci] apply automated fixes (attempt 3/3)

* Use Component base class instead of custom component for a few components

* ️ Speed up function `get_component_instance` by 365% in PR #8395 (`fix-component-loading`) (#8438)

Co-authored-by: codeflash-ai[bot] <148906541+codeflash-ai[bot]@users.noreply.github.com>

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* refactor: update debug log message for components cache building

* refactor: update required inputs to use 'api_key' for multiple starter projects

* refactor: update import statement for BaseFileComponent in nvidia_ingest.py

* refactor: simplify timing results print statement in test_load_components.py

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* refactor: improve assertion readability and error handling in test_load_components.py

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* [autofix.ci] apply automated fixes (attempt 3/3)

* feat: allow os.stat in pkgutil for component loading in blockbuster fixture

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* [autofix.ci] apply automated fixes (attempt 3/3)

* updates few components to new template

* import fixes

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* [autofix.ci] apply automated fixes (attempt 3/3)

* remove unused VectaraSelfQueryRetriverComponent from vectorstores __all__ export

* Update starter project configurations to require 'api_key' as a mandatory input for model output in multiple JSON files.

* [autofix.ci] apply automated fixes

* Refactor JSONDocumentBuilder by removing TYPE_CHECKING import and update Vectara import statement to suppress linting warning.

* ️ Speed up function `_process_single_module` by 1,017% in PR #8395 (`fix-component-loading`) (#8443)

Co-authored-by: codeflash-ai[bot] <148906541+codeflash-ai[bot]@users.noreply.github.com>

* [autofix.ci] apply automated fixes

* Remove unnecessary call to `_set_output_required_inputs` in `Component` class setup

* Revert "Use Component base class instead of custom component for a few components"

This reverts commit 2fd61f92b2735a770d82eada3b429c4e20657335.

* move components to deactivated folder

AmazonKendraRetriever, JSONDocumentBuilder, ListenComponent, MetalRetrieverComponent, MultiQueryRetrieverComponent, NotifyComponent, RetrieverToolComponent, and VectaraSelfQueryRetrieverComponent

These components provide various functionalities including document building, notification handling, and integration with external APIs for data retrieval. Each component includes input specifications and error handling for robust operation.

* [autofix.ci] apply automated fixes

* Revert "move components to deactivated folder"

This reverts commit 0aa17a26d938f4a5ea622e16c4645813ea271e44.

* Implement multiple new components in the deactivated folder, including AmazonKendraRetrieverComponent, JSONDocumentBuilder, ListenComponent, MetalRetrieverComponent, MultiQueryRetrieverComponent, NotifyComponent, RetrieverToolComponent, and VectaraSelfQueryRetrieverComponent. Each component is designed to enhance functionality for document handling, notifications, and API integrations, with robust input specifications and error handling for improved reliability.

* feat: Enhance starter project loading with improved logging and error handling

* refactor: Remove debug logging for module processing in import_langflow_components

* [autofix.ci] apply automated fixes

* fix: Disable mypy error for undefined attributes in deactivated components

* feat: Enhance blocking behavior in blockbuster tests with additional function checks

* fix: Add import error handling for boto3 in S3BucketUploaderComponent

* refactor: Add debug logging for module processing in components

* fix: Temporarily disable auto-use for blockbuster fixture until blocking issue is resolved

* feat: Add utility function to check for preimported components

* fix: Update get_component_instance to accept both CustomComponent and Component types

* fix: Update import error message for boto3 installation instructions

* fix: Correct class name from VectoStoreRetrieverComponent to VectorStoreRetrieverComponent

* fix: Update Vectara type hints and import statements for consistency

* fix: Refactor get_component_instance and build_custom_component_template_from_inputs for improved error handling and component instantiation

* fix: Remove debug logging from _process_single_module to streamline module processing

* ️ Speed up function `is_a_preimported_component` by 24% in PR #8395 (`fix-component-loading`)
Here is an optimized version of your program.



**Reasoning for changes:**
- The check `isinstance(custom_component, Component)` followed by `type(custom_component) is not Component` causes the interpreter to potentially look up the type and MRO twice per call.
- By storing `type(custom_component)` in `klass` and using `issubclass(klass, Component)`, you avoid having Python walk the MRO twice for the same object, which is subtly more efficient especially in tight loops and heavy use scenarios.
- Using `issubclass()` on the object's type is semantically equivalent to `isinstance()`, except it also works for custom metaclass scenarios and is very slightly faster when type is already known.

**All program logic and comments are preserved, only the relevant portion is optimized.**

*  (freeze.spec.ts): introduce new function addFlowToTestOnEmptyLangflow to enhance test coverage and improve test reliability

*  (freeze.spec.ts): increase timeout value for waiting for "built successfully" text to appear to improve test reliability

*  (freeze.spec.ts): refactor code to check if firstRunLangflow is greater than 0 before calling addFlowToTestOnEmptyLangflow
🔧 (generalBugs-shard-9.spec.ts): update tags in test case to include @workspace and @components
♻️ (generalBugs-shard-9.spec.ts): refactor code to remove unnecessary steps related to sidebar search and node handling
🔧 (store-shard-0.spec.ts): update test cases to be skipped and improve readability by using async arrow functions

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Jordan Frazier <jordan.frazier@datastax.com>
Co-authored-by: Jordan Frazier <122494242+jordanrfrazier@users.noreply.github.com>
Co-authored-by: codeflash-ai[bot] <148906541+codeflash-ai[bot]@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-06-11 22:36:35 +00:00
Mike Fortman
b314ce4792
fix: restore our test shards (#8468)
* restore our test shards to 10

* update to 25
2025-06-11 21:54:52 +00:00
Edwin Jose
1dbc8d9b1d
refactor(urlcomponent): rename output display names and method references (#8448)
* Update url.py

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* template updates

* [autofix.ci] apply automated fixes

* increase shards for testing

* update name

* fix-frontend-tests-url-component

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-11 19:56:04 +00:00
Lucas Oliveira
60ccdb500f
feat: add servers persistence to MCP connection component, add MCP connections settings page (#8388)
* Added mcpinput to the backend

* Fixed list selection component to contain descriptions

* Added mcp component in the frontend with mock values

* Added mcp rendering on Parameter Render Component

* Changed input to be more concise and to have dynamic placeholder

* Added header search placeholder

* Fixed styling to match new input

* Removed unused params

* Adds AddMcpServerModal's first mock version

* Adds Add button on mcp component and list selection component

* First pass at mcp api

* Add PATCH endpoint

* Add DELETE endpoint

* fix: Bump version numbers for langflow and langflow-base to 1.4.3 and 0.4.3 respectively

* fix: Remove Igor Carvalho from maintainers list in pyproject.toml

* fix(agent): reset model list when provider changes

Switching the provider in the Agent component sometimes left models from
the previous provider visible/selected.
We now filter  against the new , ensuring only
models that belong to the active provider remain.

* src/frontend/src/components/core/dropdownComponent/index.tsx
  – add  guard when rebuilding

* tests/extended/regression/general-bugs-dropdown-select-not-in-list.spec.ts
  – expand coverage for “model not in list” edge-cases

Co-authored-by: Cristian Lousa <cristian.lousa@gmail.com>

* fix: Update Pokédex Agent template (#8373)

* Implement adding and getting MCP servers, implemented addMcpServerModal

* Added sse and stdio ways of adding a server

* Added no actions handling

* added new mcp type to constants

* Added headers to add mcp server modal

* Changed mcp component to allow persistent mcp servers

* fix input list component gradient

* fix add server modal to patch when initial data is present, and to clean variables when switching tabs

* changed message on add mcp server

* Added required mutations for mcp page

* Added mcp servers page

* Changed design of page

* Fixed delete problems and added delete confirmation

* fixed wrong error parsing

* changed padding

* Made added server be used on mcp component

* refactor: remove references to the langflow store (#8354)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
Co-authored-by: Ítalo Johnny <italojohnnydosanjos@gmail.com>
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
fix: apikey lock issue and add option to disable tracking (#8361)

* Fixed search on sidebar

* fixed infinite use effect

* Fixed error handling

* Fixed tool mode disappearing

* fixed key pair button submitting form

* Fixed bugs

* Added required

* Changed message

* Disabled other tabs when modifying

* Removed tool dropdown if the mcp server is empty

* parsed name

* fixed data test id not applying

* fixed mcp component

* Fixed component not working when only stdio command is present

* refactored tests

* Updated mcp_component to remove old non default keys

* Added data-testids

* Modified tests to include settings page functionality

* [autofix.ci] apply automated fixes

* Refactor out the core part of the mcp

* [autofix.ci] apply automated fixes

* Added placeholders on frontend components for errors

* Fixed bugs with mcp component

* updated bug

* fix: made empty project appear instead of empty flows list when mcp is enabled (#8336)

* try to fix

* Fix MCP persistence

* Update mcp_component.py

* Update mcp.py

* [autofix.ci] apply automated fixes

* fix: Bump version numbers for langflow and langflow-base to 1.4.3 and 0.4.3 respectively

* fix: Remove Igor Carvalho from maintainers list in pyproject.toml

* fix(agent): reset model list when provider changes

Switching the provider in the Agent component sometimes left models from
the previous provider visible/selected.
We now filter  against the new , ensuring only
models that belong to the active provider remain.

* src/frontend/src/components/core/dropdownComponent/index.tsx
  – add  guard when rebuilding

* tests/extended/regression/general-bugs-dropdown-select-not-in-list.spec.ts
  – expand coverage for “model not in list” edge-cases

Co-authored-by: Cristian Lousa <cristian.lousa@gmail.com>

* refactor: remove references to the langflow store (#8354)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
Co-authored-by: Ítalo Johnny <italojohnnydosanjos@gmail.com>
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
fix: apikey lock issue and add option to disable tracking (#8361)

* fix: made empty project appear instead of empty flows list when mcp is enabled (#8336)

* fix mcp client async problems

* fixed mcp sse access

* [autofix.ci] apply automated fixes

* Made values be maintained when refreshing page

* Fixed bugs with tool mode and switching from tool mode to not tool mode

* Update mcp_component.py

* Update test_mcp_component.py

* Don't expose file by name as external endpoint

* Update files.py

* Update files.py

* Add checks for id

* Refactor tests

* Update test_mcp_component.py

* Update test_mcp_component.py

* Update test_mcp_component.py

* updated tests

* re-added placeholder on input for tests to not fail

* updated session selector in order for tests to work

---------

Co-authored-by: Eric Hare <ericrhare@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
Co-authored-by: Cristian Lousa <cristian.lousa@gmail.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Deon Sanchez <69873175+deon-sanchez@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
Co-authored-by: Ítalo Johnny <italojohnnydosanjos@gmail.com>
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
2025-06-11 19:21:38 +00:00
Gabriel Luiz Freitas Almeida
b378eb81d0
chore(ci): replace local uv setup action with astral-sh/setup-uv@v6 (#8491)
* chore: remove setup-uv action configuration file as it is no longer needed

* chore: update setup-uv action to use the official action across all workflows

* chore: disable cache pruning in all workflows to improve build stability

* chore: update Python version to 3.13 and add pre-release description in workflows
2025-06-11 18:56:04 +00:00
Gabriel Luiz Freitas Almeida
4ba20a8de3
ci: update setup-uv to possibly fix caching (#8490) 2025-06-11 14:49:45 -03:00
Yuqi Tang
133afb5cf3
Fix: chat memory store issue and fix output types (#8463)
* fix chat memory

* update template

* update update outputs

* update update outputs

---------

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
2025-06-11 16:39:09 +00:00
Lucas Oliveira
97dd5b361c
fix: made button disabled state more congruent, made edit flow details submit on enter (#8339)
* Changed textarea classes

* Changed flowsettingscomponent to use form

* changed edit flow settings to use form and to submit on enter

* Reset form data on close

* Updated disabled state to have lower opacity instead of to have set background

* Fixed loading state of button
2025-06-11 15:23:16 +00:00
Lucas Oliveira
4cbce28d26
fix: refactor mcp and freeze tests to be less prone to flaky results (#8486)
* Fixed mcp test to be less prone to errors

* Fix freeze spec
2025-06-11 15:02:46 +00:00
Cristhian Zanforlin Lousa
654154ebbe
refactor(docker): remove --extra deploy flag from uv sync commands (#8485)
🔧 (build_and_push_with_extras.Dockerfile): remove unnecessary uv sync command options to improve build efficiency and reduce redundancy

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-06-11 14:39:53 +00:00
Lucas Oliveira
fcd6a5c059
fix: made clean edges clean after changing dropdown of output (#8460)
fixed output considering all outputs not just selected one
2025-06-11 14:38:25 +00:00
Lucas Oliveira
8fd8be52aa
fix: make starter projects auto refactor not remove selected output (#8400)
* Fixed bug where starter projects were refactored incorrectly

* fix: improve handling of selected outputs in custom component template builder

- Added checks to ensure selected output is valid before attempting to set its state.
- Enhanced code readability with comments explaining the logic for selecting outputs.

* Set selected output as the previous selected output

* Update base.py

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
2025-06-11 14:10:22 +00:00
Eric Hare
fa18841788
fix: Remove the dataframe output from structured (#8233)
* fix: Remove the dataframe output from structured

* Remove unneeded import

* Update the description field

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

* Update structured_output.py

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* 🐛 (typescript_test.yml): increase the maximum shard count to 40 to improve test distribution and performance

* Update Financial Report Parser.json

* Fix templates

* [autofix.ci] apply automated fixes

* Update Pokédex Agent.json

* [autofix.ci] apply automated fixes

* temp test fix

* test fixes

* [autofix.ci] apply automated fixes

* add shards

*  (freeze-path.spec.ts): add functionality to add a flow to test on an empty langflow if the condition is met

* file path fix

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yuqi Tang <yuqi.tang@datastax.com>
Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
2025-06-10 22:03:54 +00:00
Cristhian Zanforlin Lousa
7be8161049
refactor(ui): remove Tool Mode option from node toolbar (#8432)
♻️ (nodeToolbarComponent/index.tsx): Remove redundant code related to the Tool Mode feature to simplify the component and improve maintainability.
2025-06-10 20:23:56 +00:00
Deon Sanchez
0acfd8e5e9
refactor: api access bug for duplicate payload values. (#8377)
* feat: add formatPayloadTweaks utility and integrate into API code generation

* feat: integrate formatPayloadTweaks utility for centralized payload processing in API code generation

* refactor: clean up formatPayloadTweaks import and improve curl command formatting

* refactor: remove commented code and streamline payload processing in APITabsComponent

* fix: uncomment TextInput in INPUT_TYPES constant

* fix: uncomment TextInput in INPUT_TYPES and update filter-tweaks to include it
2025-06-10 20:04:57 +00:00
Mike Fortman
a412fce939
fix: fix file toggle in the playground chat (#8435)
* add file toggle to playground chat

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-10 19:52:44 +00:00
Deon Sanchez
2e0c87023e
feat: enhance OutputComponent dropdown functionality and styling (#8458)
* refactor: update OutputComponent styles and enhance dropdown functionality

* Adjusted text size in OutputComponent for better readability.
* Improved dropdown button styling and added hover effects.
* Enhanced dropdown content layout to display output types alongside names.
* Added console log for outputs to assist in debugging.

* refactor: remove console log from OutputComponent for cleaner code

* refactor: streamline GenericNode component and enhance NodeOutputs functionality

* Removed conditional rendering for hidden outputs in GenericNode for cleaner code.
* Introduced hasExistingHiddenOutputs prop to NodeOutputs for better state management.
* Updated OutputComponent styles for improved visual consistency and output type display.

* style: update OutputComponent padding for improved layout

* Added padding to the OutputComponent for better spacing and visual consistency.
2025-06-10 19:33:22 +00:00
Eric Hare
e5e54ea606
fix: Split text should only have dataframe output (#8362)
* fix: Split text should only have dataframe output

* [autofix.ci] apply automated fixes

* Update templates

* test fix

* Update Vector Store RAG.json

* Update starter projects

* fix tests

* add shards

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-06-10 19:21:15 +00:00
Gabriel Luiz Freitas Almeida
79c37c8f50
fix: update import statement in astradb_cql.py to silence warning (#8457)
fix: update import statement for pydantic in astradb_cql.py
2025-06-10 18:09:56 +00:00
Mendon Kissling
c0c3057812
docs: remove unnecessary tab from v2 loader example (#8428)
docs: remove unnecessary tab structure from API examples
2025-06-10 17:57:24 +00:00
Gabriel Luiz Freitas Almeida
35bb2a84ef
fix: Remove Docker duplicated build step from release workflow (#8366) 2025-06-10 12:33:58 -03:00
Lucas Oliveira
213bb6da95
fix: update query input import in test code (#8456) 2025-06-10 11:34:35 -03:00
Edwin Jose
40b48ee5e9
fix: remove duplicated import statement in nvidia_ingest (#8439)
* Update nvidia_ingest.py

* prefer full path'

---------

Co-authored-by: Jordan Frazier <jordan.frazier@datastax.com>
2025-06-09 17:52:46 +00:00
Jordan Frazier
f2e3f2ccc5
ref: standardize imports to use full qualified names (#7575)
* Remove models from __init__.py to avoid circular dependency

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* add back init to avoid backwards-compat issues

* [autofix.ci] apply automated fixes

* ref: standardize imports to use full qualified names

Replaces uses of the "public" APIs to use full qualified
names to reduce instances of circular dependencies

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* Fix path

* update starters"
"

* remove old files'

* [autofix.ci] apply automated fixes

* Fix some imports

* [autofix.ci] apply automated fixes

* ruff

* [autofix.ci] apply automated fixes

* starter projects?

* starter projects?

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-09 15:20:34 +00:00
Yuqi Tang
232d130863
feat: change smart function title, icon and desc (#8405)
* change title and desc

* revert back
2025-06-09 14:43:02 +00:00
Mahesh Rajamani
8a6ad9d232
feat: NV-ingest high resolution extraction and infographics content extraction (#8315)
* Added support for high resolution and extracting infographics content

* [autofix.ci] apply automated fixes

* Added validation for high resolution. Made image filter option value as false by default.

* [autofix.ci] apply automated fixes

* Fixed as per linters suggestion

* [autofix.ci] apply automated fixes

* Updated the file based on review for improved description

* Update src/backend/base/langflow/components/nvidia/nvidia_ingest.py

Accepted code change suggestion

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Addressed suggestion from coderabbitai

* [autofix.ci] apply automated fixes

* Addressed suggestion from Ruff

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Jordan Frazier <122494242+jordanrfrazier@users.noreply.github.com>
2025-06-09 14:34:46 +00:00
Cristhian Zanforlin Lousa
ed809d77e5
test: enhance node connection tests in chatMemory component (nightly fix) (#8431) 2025-06-09 10:19:44 -03:00
Yuqi Tang
e23e543b60
feat: combine chat history and chat store into a CRUD component (#8323)
* combine history and store

* combine history and store

* [autofix.ci] apply automated fixes

* Update memory.py

* [autofix.ci] apply automated fixes

* update json

* Update memory.py

* Update memory.py

* [autofix.ci] apply automated fixes

* change order

* change order

* put retrieve first

* add json

* [autofix.ci] apply automated fixes

* Update memory.py

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* update test

* fix test

* update tests

* update memory_chatbot

* change number back

* fix py test

* update

* update pokedex

* update flow

* [autofix.ci] apply automated fixes

* update type converter

* format

* fix name

* update meeting summary

* [autofix.ci] apply automated fixes

* fix test memory chatbot

* update method

* update method

* fix sort

* fix test graph state

* fix test

* fix locator

---------

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: Eric Hare <ericrhare@gmail.com>
2025-06-05 22:19:01 +00:00
Mendon Kissling
a161753a57
Docs: rename and redirect system assist component to g-assist component (#8317)
* add-redirect

* sidebars-and-filename

* Apply suggestions from code review

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>

---------

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
2025-06-05 17:23:44 +00:00
Mendon Kissling
22330abf9c
docs: new logos (#8357)
* add-new-svgs

* refactor: update logo SVGs in Docusaurus config
2025-06-05 15:46:03 +00:00
Chris Mauck
087a22c246
feat: Add Cleanlab's AI Reliability Bundle to Langflow (#8049)
* Add Cleanlab bundle

* Fix icon logic and add support for light/dark mode dynamic logo

* Remove stuff

* Modify components and add documentation

* [autofix.ci] apply automated fixes

* Add sidebar code

* [autofix.ci] apply automated fixes

* Update docs/sidebars.js

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>

* Update docs/docs/Integrations/Cleanlab/integrations-cleanlab.md

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>

* Update docs/docs/Integrations/Cleanlab/integrations-cleanlab.md

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>

* Update docs/docs/Integrations/Cleanlab/integrations-cleanlab.md

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>

* copy edits

* update samples

* style check fixes

* [autofix.ci] apply automated fixes

* style check fix 2

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
2025-06-04 22:56:08 +00:00
Mendon Kissling
06f7279977
docs: update details summary css for better arrow alignment (#8376)
* align-details-summary-appearance

* accessibility-suggestion
2025-06-04 19:09:06 +00:00
Mendon Kissling
43b65b59ce
docs: contributing page links (#8316)
* add-contributing-links

* style

* correct-url

* Apply suggestions from code review

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>

* link-names

---------

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
2025-06-04 17:57:42 +00:00
Ítalo Johnny
227a091211
fix: apikey lock issue and add option to disable tracking (#8361)
* fix(api-key): avoid row-level locks by disabling usage tracking

* [autofix.ci] apply automated fixes

* chore: move parameter handling to settings service

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-04 17:05:55 +00:00
Mendon Kissling
5abb545c4d
docs: add typescript client (#8195)
* install

* run-flow-complete

* unneeded-const

* extend-starter-example

* cleanup

* more-cleanup

* response-tabs

* Apply suggestions from code review

Co-authored-by: Phil Nash <philnash@gmail.com>

* cleanup

* update-logging-example

* remove-line-and-reduce-padding

* remove-tab

* logging-example-updated-for-0.3.0

* clarify-quickstart

* Update docs/docs/Develop/Clients/typescript-client.md

* style-review

* spelling

* link-clarity

---------

Co-authored-by: Phil Nash <philnash@gmail.com>
2025-06-04 13:33:56 +00:00
Gabriel Luiz Freitas Almeida
8925c86853
fix: Add os.stat to blocklist for _load_revisions in alembic script (#8365) 2025-06-04 09:08:32 -03:00
Eric Hare
9aaca68687
fix: Refactor a few more components to proper folders (#8324)
* fix: Refactor a few more components to proper folders

* Rename action for load files

* [autofix.ci] apply automated fixes

* Update tests for new naming

* Update video_file.py

* Update video_file.py

* Update video_file.py

* Update test_batch_run_component.py

* Move unit tests

* Update test_structured_output_component.py

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yuqi Tang <yuqi.tang@datastax.com>
2025-06-03 23:35:46 +00:00
Edwin Jose
644bc87eca
fix: api request component curl mode error (#8353)
* Update api_request.py

* Update api_request.py

* [autofix.ci] apply automated fixes

* Update Pokédex Agent.json

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Eric Hare <ericrhare@gmail.com>
2025-06-03 23:04:40 +00:00
Yuqi Tang
7feba692b1
fix: Revert Typescript Shards (#8359)
revert typescript shards
2025-06-03 22:27:02 +00:00
Eric Hare
4d1112386f
feat: Add Google as an option for genai (#8358) 2025-06-03 22:02:59 +00:00
Edwin Jose
7e5126dcd6
ref: Deprecate pass message component (#8351)
* Update pass_message.py

* Update src/backend/base/langflow/components/logic/pass_message.py

Co-authored-by: Eric Hare <ericrhare@gmail.com>

---------

Co-authored-by: Eric Hare <ericrhare@gmail.com>
Co-authored-by: Yuqi Tang <yuqi.tang@datastax.com>
2025-06-03 21:59:23 +00:00
Mike Fortman
c4ca2bb1da
fix: only allow custom vals and options to be in the options list (#8356)
* only allow customvals and options to be in the options list

*  (general-bugs-dropdown-select-not-in-list.spec.ts): add additional test cases to cover dropdown selection functionality and ensure correct behavior in the frontend application

---------

Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-06-03 21:19:01 +00:00
Edwin Jose
68f4905e2a
fix: change LoopComponent data input to DataFrame type and update display name (#8297)
* Update loop.py

* [autofix.ci] apply automated fixes

* Update loop-component.spec.ts

* change dataframe input name to inputs

* [autofix.ci] apply automated fixes

* 🐛 (typescript_test.yml): increase the maximum shard count to 40 to improve test distribution and efficiency

* 🔧 (typescript_test.yml): adjust optimal shard count calculation to use a maximum of 10 shards instead of 40 for better test distribution
🐛 (loop-component.spec.ts): fix getByTestId selector to match the updated element ID for testing purposes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yuqi Tang <yuqi.tang@datastax.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-06-03 19:49:24 +00:00
Edwin Jose
5174c0638d
ref: ConditionalRouter Initialization with Case Sensitivity and renaming inputs (#8337)
* Update conditional_router.py

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-03 18:58:53 +00:00