Commit graph

208 commits

Author SHA1 Message Date
Cristhian Zanforlin Lousa
ab017bafcd
feat: Add not contains filter operator in DataFrame Operations Component (#9415)
* 🐛 (dataframe_operations.py): Fix bug in DataFrameOperationsComponent where "not contains" filter option was missing, causing incorrect filtering behavior.

* [autofix.ci] apply automated fixes

* Update pyproject versions

* fix: Avoid namespace collision for Astra (#9544)

* fix: Avoid namespace collision for Astra

* [autofix.ci] apply automated fixes

* Update Vector Store RAG.json

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

* fix: Revert to a working composio release for module import (#9569)

fix: revert to stable composio version

* fix: Knowledge base component refactor (#9543)

* fix: Knowledge base component refactor

* [autofix.ci] apply automated fixes

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

* Update styleUtils.ts

* Update ingestion.py

* [autofix.ci] apply automated fixes

* Fix ingestion of df

* [autofix.ci] apply automated fixes

* Update Knowledge Ingestion.json

* Fix one failing test

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

* Revert composio versions for CI

* Revert "Revert composio versions for CI"

This reverts commit 9bcb694ea1e20d544cf5e17fed2f9f4c0a3c192b.

---------

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: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>

* fix: Fix env file handling in Windows build scripts (#9414)

fix .env load on windows script

Co-authored-by: Ítalo Johnny <italojohnnydosanjos@gmail.com>

* fix: update agent_llm display name to "Model Provider" in AgentComponent (#9564)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

* 📝 (test_mcp_util.py): add a check to skip test if DeepWiki server is rate limiting requests to avoid false test failures

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jordan Frazier <jordan.frazier@datastax.com>
Co-authored-by: Eric Hare <ericrhare@gmail.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
Co-authored-by: Ítalo Johnny <italojohnnydosanjos@gmail.com>
2025-08-29 17:09:30 +00:00
Cristhian Zanforlin Lousa
efb554ad2a
fix: Update composio deps to v0.8.5, remove core (nightly fix) (#9585) 2025-08-28 11:43:46 -03:00
Cristhian Zanforlin Lousa
fafdc36d38
fix: Upgrade composio-langchain and add composio package (nightly fix) (#9582)
⬆️ (pyproject.toml): upgrade composio package to version 0.8.9 and adjust its dependencies to match the new version
2025-08-28 09:53:44 -04:00
Jordan Frazier
0191d1a584
build: update nv-ingest (#9478)
* Update nv-ingest dependencies and resolve conflicts

* Update nv-ingest installation eror rmessage

* [autofix.ci] apply automated fixes

* ruff?

* [autofix.ci] apply automated fixes

* uvlock

* [autofix.ci] apply automated fixes

* disable benchmark in pytest

* [autofix.ci] apply automated fixes

* fix: remove redundant exception handling in YouTubeChannelComponent

* lockfile

* [autofix.ci] apply automated fixes

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

---------

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: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
Co-authored-by: Eric Hare <ericrhare@gmail.com>
2025-08-26 23:05:08 -04:00
Jordan Frazier
234ff867b9
build: add additional OCR dependencies for docling (#9156)
* ux cleanup

* [autofix.ci] apply automated fixes

* Update src/backend/base/langflow/components/docling/docling_inline.py

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

* Update pyproject.toml

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

* ruff

* fix pyproject

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

* uvlock

* Update uv.lock

---------

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: Eric Hare <ericrhare@gmail.com>
Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
2025-08-26 22:15:12 -04:00
Deon Sanchez
15edb5ad14
feat: Canvas toolbar update and enhancement (#9239)
* feat: Add EditorConfig and Prettier configuration files for consistent code formatting

- Introduced .editorconfig to enforce coding styles across various file types.
- Added .prettierrc for Prettier configuration to standardize code formatting.
- Updated settings.json to define tab sizes and formatting options for different languages.
- Enhanced canvasControlsComponent with a new dropdown for control buttons, improving UI interaction.
- Refactored logCanvasControlsComponent and MemoizedComponents for better structure and consistency.

* [autofix.ci] apply automated fixes

* feat: Enhance canvas controls with keyboard shortcuts and dropdown functionality

- Introduced keyboard shortcuts for zooming in, zooming out, fitting view, and resetting zoom.
- Refactored DropdownControlButton to improve accessibility and usability.
- Updated CanvasControls to handle keyboard events for enhanced user interaction.
- Added helper function to format zoom percentage for better display.
- Improved structure and readability of the canvas controls component.

* [autofix.ci] apply automated fixes

* feat: Introduce CanvasControlsDropdown and HelpDropdown components

- Added new dropdown components for canvas controls and help functionalities.
- Refactored CanvasControls to utilize the new dropdowns, enhancing UI interaction.
- Improved keyboard shortcut handling for zoom and view adjustments.
- Streamlined component structure for better maintainability and readability.

* refactor: Update dropdown components and styles in canvasControls

- Removed unused ShadTooltip import from dropdowns.tsx.
- Adjusted padding and margin styles for DropdownControlButton and CanvasControlsDropdown for improved layout.
- Enhanced button styles in MemoizedComponents for consistency.
- Cleaned up class names in CanvasControls for better readability.

* feat: Enhance HelpDropdown with navigation and external links

- Added functionality to open documentation and desktop download links in new tabs.
- Integrated navigation for shortcuts settings within the HelpDropdown.
- Cleaned up commented-out code for better readability and maintainability.

* [autofix.ci] apply automated fixes

* feat: Add tests for CanvasControls and Dropdown components

- Introduced unit tests for CanvasControls, verifying rendering and keyboard shortcut handling.
- Added tests for CanvasControlsDropdown and HelpDropdown, ensuring proper functionality and interaction.
- Implemented mocks for external dependencies to isolate component behavior during testing.
- Enhanced test coverage for dropdown interactions and navigation features.

* refactor: Simplify Jest setup by removing unused polyfills and mocks

- Removed unnecessary polyfills for ResizeObserver and IntersectionObserver from the Jest setup file.
- Cleaned up the window.open mock to streamline the testing environment.

* feat: Enhance FlowMenu and EditFlowSettings components

- Reintroduced memoization and hotkey handling in FlowMenu for improved performance.
- Updated EditFlowSettings to include locking functionality with a switch component, enhancing user control over flow settings.
- Adjusted layout and styling for better user experience in the EditFlowSettings component.

* [autofix.ci] apply automated fixes

* feat: Implement locking functionality in FlowSettingsComponent

- Added state management for the locked property in FlowSettingsComponent.
- Updated EditFlowSettings to disable input fields based on the locked state.
- Enhanced the flow submission logic to include the locked status when saving changes.

* [autofix.ci] apply automated fixes

* chore: Remove EditorConfig and Prettier configuration files

- Deleted .editorconfig and .prettierrc files to streamline project configuration.
- Updated .cursor/settings.json to enable biome without specific editor settings for various file types.

* chore: Update biome settings in .cursor/settings.json

- Removed the biome.enabled property to simplify configuration.
- Retained the biome.configurationPath for continued functionality.

* feat: Enhance dropdown functionality with toggle options and bug report link

- Added a toggle feature to the DropdownControlButton for enabling smart guides.
- Introduced a new BUG_REPORT_URL constant for reporting issues.
- Updated HelpDropdown to utilize the new toggle functionality and link for bug reporting.
- Cleaned up imports and adjusted component props for better usability.

* fix: Correct onClick handling in DropdownControlButton component

- Updated the onClick prop to directly use the provided onClick function instead of a conditional.
- Adjusted the handleOnNewValue prop in ToggleShadComponent to ensure proper toggle functionality.

* [autofix.ci] apply automated fixes

* feat: Introduce CanvasControls and dropdown components for enhanced canvas interaction

- Added CanvasControls component to manage canvas interactions and state based on flow lock status.
- Implemented CanvasControlsDropdown and HelpDropdown for zoom and help functionalities, respectively.
- Created DropdownControlButton for reusable dropdown actions with keyboard shortcuts.
- Removed deprecated dropdowns and refactored related tests to align with new component structure.
- Introduced utility functions for zoom percentage formatting and modifier key detection.

* refactor: Clean up imports and enhance HelpDropdown functionality

- Removed redundant imports in FlowMenu and HelpDropdown components.
- Refactored HelpDropdown to utilize Zustand for managing helper line state.
- Improved readability by adjusting component structure and formatting.

* Revert "Merge branch 'lfoss-1889' of https://github.com/langflow-ai/langflow into lfoss-1889"

This reverts commit 896436ac53986702dd162151e7fdb770689751c7, reversing
changes made to 475c2fa027211021557ff37bd056627be896b59c.

* [autofix.ci] apply automated fixes

* Reapply "Merge branch 'lfoss-1889' of https://github.com/langflow-ai/langflow into lfoss-1889"

This reverts commit 4e971f81e4d2e01a75bfc855467d60536d668eb4.

* fix proxy

* test: Enhance testing for canvas controls and dropdown components

- Updated CanvasControls test to verify state management and rendering.
- Added comprehensive tests for CanvasControlsDropdown, including zoom functionality and keyboard shortcuts.
- Introduced tests for utility functions in canvasUtils, ensuring correct zoom formatting and modifier key detection.
- Created tests for DropdownControlButton, validating rendering, click handling, and toggle functionality.
- Refactored Dropdowns test to remove CanvasControlsDropdown references and streamline imports.

* [autofix.ci] apply automated fixes

* refactor: reorganize imports and optimize state selection in FlowMenu component

- Moved import statements for memo, useMemo, useRef, and useState to the correct position.
- Updated currentFlow state selection to use useShallow for improved performance.

* [autofix.ci] apply automated fixes

* refactor: reorganize imports and enhance DropdownControlButton functionality

- Moved import statements for React and other components to appropriate locations.
- Added externalLink prop to DropdownControlButton for improved link handling.
- Updated HelpDropdown to utilize externalLink prop for relevant buttons.
- Refined HeaderMenuItemLink styles for better visual consistency.

* [autofix.ci] apply automated fixes

* test: enhance accessibility features in DropdownControlButton tests

- Added role, tabIndex, aria-checked, and aria-label attributes for improved accessibility.
- Implemented keyboard interaction handling for Enter and Space keys to trigger value changes.

* [autofix.ci] apply automated fixes

* refactor: reorganize imports and enhance FlowMenu state management

- Moved import statements for React hooks to the correct position.
- Updated state selection to include isFlowLocked for improved clarity and performance.
- Refined usage of currentFlow state properties in the MenuBar component.

* [autofix.ci] apply automated fixes

* test: add Flow Lock feature tests for locking and unlocking flows

- Implemented tests to verify the locking and unlocking functionality of flows, including UI changes and state persistence.
- Ensured that inputs are enabled/disabled correctly based on the lock state and that the appropriate lock/unlock icons are displayed in the settings.

* [autofix.ci] apply automated fixes

* test: Update selectors in various specs to use canvas_controls_dropdown

Replaced instances of 'fit_view' selector with 'canvas_controls_dropdown' in multiple test files to ensure proper interaction with the canvas controls. This change enhances the reliability of the tests by targeting the correct UI elements.

* [autofix.ci] apply automated fixes

* test: Refactor auto-login-off.spec.ts and rename-flow.ts for improved readability and functionality

Updated the auto-login-off.spec.ts file to enhance code clarity by adjusting formatting and ensuring proper selector usage. Additionally, modified the rename-flow.ts utility to include hover actions for better user interaction simulation during tests. These changes aim to improve test reliability and maintainability.

* test: Enhance interaction with canvas controls in multiple specs

Added interactions with the 'canvas_controls_dropdown' in various test files to improve test reliability and ensure proper UI element targeting. This update includes adjustments in auto-login-off.spec.ts, customComponentAdd.spec.ts, tableInputComponent.spec.ts, stop-button-playground.spec.ts, and generalBugs-shard-7.spec.ts, enhancing the overall functionality of the tests.

* fixed tests

* test: Enhance interaction with canvas controls across multiple specs

Added interactions with the 'canvas_controls_dropdown' in various test files to improve test reliability and ensure proper UI element targeting. This update includes adjustments in tweaksTest.spec.ts, user-flow-state-cleanup.spec.ts, and several integration tests, enhancing the overall functionality of the tests.

* [autofix.ci] apply automated fixes

* test: Further enhance interactions with canvas controls in multiple specs

Added additional clicks on the 'canvas_controls_dropdown' in stop-building.spec.ts, promptModalComponent.spec.ts, minimize.spec.ts, and generalBugs-shard-11.spec.ts to improve test reliability and ensure proper UI element targeting. This update continues to enhance the overall functionality of the tests.

* [autofix.ci] apply automated fixes

* test: Improve interactions with canvas controls in various specs

Added multiple clicks on the 'canvas_controls_dropdown' across several test files, including playground.spec.ts, decisionFlow.spec.ts, and generalBugs-shard-5.spec.ts, to enhance test reliability and ensure accurate UI element targeting. This update continues to refine the overall functionality of the tests.

* [autofix.ci] apply automated fixes

* test: Enhance canvas control interactions across multiple specs

Added additional clicks on the 'canvas_controls_dropdown' in various test files, including generalBugs-shard-5.spec.ts, linkComponent.spec.ts, tabComponent.spec.ts, flowPage.spec.ts, stop-button-playground.spec.ts, and general-bugs-truncate-results.spec.ts. This update aims to improve test reliability and ensure accurate interactions with the UI elements.

* [autofix.ci] apply automated fixes

* test: Refine canvas control interactions in various specs

Added additional clicks on the 'canvas_controls_dropdown' across multiple test files, including similarity.spec.ts, fileUploadComponent.spec.ts, sliderComponent.spec.ts, tableInputComponent.spec.ts, and minimize.spec.ts. This update aims to enhance test reliability and ensure accurate interactions with UI elements, continuing the effort to improve overall test functionality.

* [autofix.ci] apply automated fixes

* test: Refine canvas control interactions in loop-component.spec.ts

Added additional clicks on the 'canvas_controls_dropdown' to enhance test reliability and ensure accurate interactions with UI elements. This update continues the effort to improve overall test functionality.

* [autofix.ci] apply automated fixes

* test: Update lock-flow interactions for improved reliability

Refactored interactions in lock-flow.spec.ts to replace 'lock_unlock' clicks with more specific actions on 'flow_name' and 'lock-flow-switch'. Added necessary clicks on 'canvas_controls_dropdown' and ensured UI updates are properly awaited. This enhances the reliability of the test by ensuring accurate interactions with UI elements.

* [autofix.ci] apply automated fixes

* test: Enhance flow-lock.spec.ts for improved test reliability

Added a wait timeout to ensure UI elements are fully rendered before interactions. Updated the test structure for better clarity and consistency in verifying the flow lock feature, ensuring accurate expectations for lock icon visibility.

* [autofix.ci] apply automated fixes

* test: Add unit tests for various components and improve Jest setup

- Introduced unit tests for FlowMenu, HeaderMenu, CanvasControlsDropdown, EditFlowSettings, LogCanvasControls, and MemoizedComponents to enhance test coverage.
- Updated jest.setup.js with global module stubs to prevent ESM/context issues in unit tests, ensuring smoother test execution.
- Improved test reliability by mocking necessary components and avoiding direct imports that could lead to context issues during testing.

* [autofix.ci] apply automated fixes

* test: Refactor flow-lock and starter-projects tests for improved reliability

- Updated flow-lock.spec.ts to replace click interactions with keyboard actions for toggling the lock switch, enhancing test stability.
- Improved assertions for input states using toBeEnabled and toBeDisabled for clearer intent.
- Increased timeout for waiting on UI elements in starter-projects.spec.ts to ensure proper rendering before interactions, reducing flakiness in tests.

* [autofix.ci] apply automated fixes

* test: Refactor file upload component tests for consistency and readability

- Simplified arrow function syntax in evaluateHandle calls for better clarity.
- Standardized formatting of test expectations to enhance readability.
- Ensured consistent use of timeout options across various assertions to improve test reliability.

* test: Update CanvasControlsDropdown test to improve accessibility

- Replaced div with button in the DropdownMenu mock to enhance accessibility.
- Added aria attributes to the button for better screen reader support and user experience.

* [autofix.ci] apply automated fixes

* feat: Refactor FlowSettingsComponent for improved functionality and testing

- Introduced helper functions to manage flow updates and validation logic.
- Enhanced state management for save button enable/disable conditions.
- Added comprehensive unit tests for FlowSettingsComponent to ensure expected behavior and edge cases.
- Improved code readability and maintainability through restructuring and modularization.

* [autofix.ci] apply automated fixes

* feat: Refactor HelpDropdown component for improved structure and maintainability

- Extracted HelpDropdownView as a separate component to enhance readability and separation of concerns.
- Updated HelpDropdown to utilize the new HelpDropdownView, simplifying its logic.
- Added unit tests for HelpDropdownView to ensure functionality and interaction correctness.
- Improved code organization and modularity for better maintainability.

* [autofix.ci] apply automated fixes

* refactor: streamline code style and improve readability in starter-projects.spec.ts

- Simplified arrow function syntax by removing parentheses where not needed.
- Enhanced conditional logic for handling visibility of elements in the test flow.
- Improved overall code organization for better maintainability.

* [autofix.ci] apply automated fixes

* test: enhance flow lock feature tests for reliability and clarity

- Updated test selectors for consistency and improved readability.
- Replaced keyboard interaction with direct click for enabling the lock switch to reduce flakiness.
- Added conditional check for the save button to ensure it is enabled before clicking.
- Improved wait times for UI elements to enhance test stability.
- Cleaned up code structure for better maintainability.

* [autofix.ci] apply automated fixes

* test: improve flow lock feature test reliability

- Added a conditional check to ensure the lock switch is in the correct state after clicking.
- Enhanced test stability by incorporating an additional click if the state is not as expected.

* test: refine starter-projects.spec.ts for improved clarity and efficiency

- Removed unnecessary wait for the fit_view selector to streamline the test flow.
- Simplified the logic for clicking the fit_view button, enhancing readability and reducing redundancy.

* [autofix.ci] apply automated fixes

* test: further refine starter-projects.spec.ts for consistency and readability

- Simplified arrow function syntax by removing unnecessary parentheses.
- Enhanced code clarity by standardizing the structure of test assertions and interactions.
- Improved overall test flow by ensuring consistent formatting and reducing redundancy.

* [autofix.ci] apply automated fixes

* revert

* revert

* test: enhance readability and consistency in starter-projects.spec.ts and Text Sentiment Analysis.spec.ts

- Simplified arrow function syntax by removing unnecessary parentheses.
- Standardized test assertions and interactions for improved clarity.
- Adjusted text analysis assertion to ensure it checks for a minimum length of 50 characters.
- Added a wait for selector in the starter-projects.spec.ts to ensure proper element visibility before interaction.

* [autofix.ci] apply automated fixes

* refactored starter projects test

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com>
Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
2025-08-25 22:03:52 +00:00
Hamza Rashid
60229628a7
docs(graph): fix typo in comment (#9436)
* docs(graph): fix typo in comment

* [autofix.ci] apply automated fixes

---------

Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-25 17:22:58 +00:00
Jordan Frazier
bbb0838dda
build: add structlog dep to base package (#9516)
Add structlog dep to base package
2025-08-25 09:59:34 -04:00
Gabriel Luiz Freitas Almeida
a1629a7553
feat: migrate from loguru to structlog (#9321)
* refactor: Enhance logging configuration with structured logging and buffer support

* feat: Add structlog dependency for enhanced logging support

* refactor: Update ruff dependency to version 0.12.7 and remove unused pylint references

* Refactor logging imports to use langflow.logging.logger

- Replaced instances of loguru logger with langflow.logging.logger across multiple files.
- Updated logging calls to use asynchronous methods where applicable (e.g., await logger.awarning).
- Ensured consistent logging practices throughout the codebase by standardizing the logger import.

* refactor: Add missing docstring rule to ruff configuration

* [autofix.ci] apply automated fixes

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

* [autofix.ci] apply automated fixes

* fix: update logger calls to use async methods in DatabaseService

* fix: update logger calls to use async methods in initialize_database and session_getter

* fix: update logger calls to use async methods in LangflowRunnerExperimental

* fix: update logger calls to use async methods across various services

* Refactor logging to use asynchronous logger methods across multiple components

- Updated logging calls in  to use async logger methods for error handling and debugging.
- Modified  to utilize async logging for error messages during file deletion.
- Changed logging in , , and other agent-related files to use async methods for error and debug messages.
- Refactored logging in various components including , , , and others to ensure consistent use of async logging.
- Updated , , and  to replace synchronous logging with asynchronous counterparts.
- Ensured all logging changes maintain the original message structure while enhancing performance with async capabilities.

* [autofix.ci] apply automated fixes

* fix: update logger calls to use async methods in various components

* feat: add InterceptHandler to route standard logging messages to structlog

* refactor: remove async_file parameter from logger configuration

* fix: correct log level mapping and enhance log rotation validation

* refactor: remove unused logging import and streamline schema imports

* Refactor logging in AssemblyAI components and other modules to use exc_info for better error tracing

- Updated logging statements in AssemblyAI components (e.g., assemblyai_get_subtitles, assemblyai_lemur, assemblyai_list_transcripts, etc.) to use logger.debug with exc_info=True for improved error context.
- Modified logging in various helper and utility functions to enhance error reporting.
- Ensured consistent logging practices across the codebase for better maintainability and debugging.

* refactor: remove InterceptHandler from logger configuration to avoid recursion

* refactor: enhance test coverage for logger module with comprehensive test cases

* refactor: add rule to ignore mutable objects without __hash__ method in linter

* fix various lint issues

* refactor: update function signatures to improve clarity and consistency

* refactor: streamline import statements and enhance response handling in voice mode

* refactor: simplify lifespan cleanup logic

* refactor: remove unused caplog fixture and improve graph test clarity

* fix: specify logger type as BoundLogger for clarity

* [autofix.ci] apply automated fixes

* refactor: remove unused logger and correct return statement in arun_flow_from_json

* refactor: update logger usage to support async methods in tests

* fix: correct datetime bounds for hypothesis strategies to avoid timezone issues

* fix: update warning message for invalid string input type in tests

* refactor: simplify message handling tests by removing database session mocks

* refactor: remove redundant comment from test_max_size function in test_logger.py

* fix: update patch target for DEV setting in remove_exception_in_production test

* fix: update patch target for DEV setting in remove_exception_in_production test

* fix: update patching of DEV setting in remove_exception_in_production tests to use module import

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-22 17:56:07 +00:00
Sandesh R
3ecf9640b7
feat: Added Traceloop SDK for collecting traces and metrics from Langflow (#9317)
* Added Traceloop SDK for colecting traces and metrics from Langflow

* [autofix.ci] apply automated fixes

* added test case for traceloop

* Revert "[autofix.ci] apply automated fixes"

This reverts commit 3a68113f0de65b2397ac88d1fc2cae8f786adbd7.

* Updated logic for verifying returned callbacks list length

* [autofix.ci] apply automated fixes

* api key strip validation and updated logger warning

* Add graceful fallback for Traceloop LangChain callback handler

* Removed TraceloopLangChainCallbackHandler

* default URL moved to configuration constant

* add Timeout Protection to add trace method

* add resource cleanup method for traceloop

* fix(tracing): unify span lifecycle and fix async mismatch in TraceloopTracer

- Remove incorrect asyncio.wait_for usage on synchronous method
- Store active spans in _span_map to properly end them in end_trace
- Prevent duplicate unrelated spans for same component
- Use trace.get_tracer_provider().force_flush() for correct flushing
- Add explicit close() method for manual flush at shutdown
- Enforce HTTPS in TRACELOOP_BASE_URL validation
- Improve reliability of cleanup in __del__

* stable uv.lock from upstream/main

* Fix: ensure type-safe metadata handling

* Block PYMYSQL intrumentor and relaxed https constraint

* fix(tracing): handle invalid input/output type conversion for traceloop attributes

* fix: Reduced cognitive complexity of get_trace_as_metadata method

* fix: organize child spans under single root span and added type conversion methods

* fix: Linting and formatting

* uv.lock reset to upstream main

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Sandesh R <sandesh@ibm.com>
2025-08-22 16:37:24 +00:00
Gabriel Luiz Freitas Almeida
72ad30ede3
build: add .dockerignore and move docling from runtime to dev deps (#9469)
* feat: add .dockerignore to exclude build artifacts and environment files

* feat: move docling to main dependencies and remove docling extra
2025-08-22 14:00:37 +00:00
Eric Hare
0b78ccd4de
fix: Adjust uniqueness constraint on file names (#9014)
* fix: Adjust uniqueness constraint on file names

* Update 1cb603706752_modify_uniqueness_constraint_on_file_.py

* Update 1cb603706752_modify_uniqueness_constraint_on_file_.py

* Update 1cb603706752_modify_uniqueness_constraint_on_file_.py

* Update 1cb603706752_modify_uniqueness_constraint_on_file_.py

* Add index on user id

* Update 1cb603706752_modify_uniqueness_constraint_on_file_.py

* Update 1cb603706752_modify_uniqueness_constraint_on_file_.py

* Update model.py

* Update 1cb603706752_modify_uniqueness_constraint_on_file_.py

* Add duplicate check on upgrade

* Update 1cb603706752_modify_uniqueness_constraint_on_file_.py

* Update 1cb603706752_modify_uniqueness_constraint_on_file_.py

* Update 1cb603706752_modify_uniqueness_constraint_on_file_.py

* Add aiosqlite as dep

* Fix authentication for non-super user envs

* [autofix.ci] apply automated fixes

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

* Fix mypy issues

* Update News Aggregator.json

* Update save_file.py

* [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-08-19 20:50:18 +00:00
Abhishek Patil
f6e6edbc37
feat: update Composio components (#8868)
Co-authored-by: Uday-sidagana <uday.sidgana@gmail.com>
Co-authored-by: Uday Sidagana <udaysidagana@Mac.lan>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Uday Sidagana <129588963+Uday-sidagana@users.noreply.github.com>
2025-08-18 12:57:13 -03:00
Edwin Jose
3d601ffa79
chore: bump langflow version (#9402)
* bug: re-add NVIDIA Remix starter template (#8994)

feat: add NVIDIA Remix starter template

Introduced a new JSON configuration file for the NVIDIA Remix starter project, defining nodes and edges for chat input, output, and agent interactions. This setup enhances the integration of the NVIDIA RTX Remix Toolkit REST API, providing a structured approach for building chat-based applications.

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>

* chore(release): bump to 1.5.0.post2

* bug: re-add NVIDIA Remix starter template (#8994)

feat: add NVIDIA Remix starter template

Introduced a new JSON configuration file for the NVIDIA Remix starter project, defining nodes and edges for chat input, output, and agent interactions. This setup enhances the integration of the NVIDIA RTX Remix Toolkit REST API, providing a structured approach for building chat-based applications.

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>

* Bump langflow-base version to 0.5.0.post2

Updated the langflow-base package version in pyproject.toml and uv.lock to 0.5.0.post2 for release or deployment purposes.

---------

Co-authored-by: Sebastián Estévez <estevezsebastian@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-08-14 20:41:15 +00:00
Jordan Frazier
c188ec113c
fix: enforce authentication for superuser cli command (#9152)
* Enforce authentication for superuser cli command

* shorten security md

* cleanup

* use session_scope

* re-add uvlock

* [autofix.ci] apply automated fixes

* ruff

* update env example

* [autofix.ci] apply automated fixes

* better exception handling

* [autofix.ci] apply automated fixes

* update tests to not use mocks

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

* Remove old test

* Catch exceptions for typer

* Try output instead of stdout

* Use xdist to run in serial

* Separate create superuse

* [autofix.ci] apply automated fixes

* Ruff

* [autofix.ci] apply automated fixes

* lint

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-14 20:29:35 +00:00
Gabriel Luiz Freitas Almeida
75970e5ff4
fix: add langchain-chroma to langflow-base (#9396) 2025-08-14 11:25:57 -03:00
Eric Hare
e68f6a405a
feat: Add support for Ingestion and Retrieval of Knowledge Bases (#9088)
* refactor: Standardize import statements and improve code readability across components

- Updated import statements to use consistent single quotes.
- Refactored various components to enhance readability and maintainability.
- Adjusted folder and file handling logic in the sidebar and file manager components.
- Introduced a new tabbed interface for the files page to separate files and knowledge bases, improving user experience.

* [autofix.ci] apply automated fixes

* feat: Introduce new Files and Knowledge Bases page with tabbed interface

- Added a new FilesPage component to manage file uploads and organization.
- Implemented a tabbed interface to separate Files and Knowledge Bases for improved user experience.
- Created FilesTab and KnowledgeBasesTab components for handling respective functionalities.
- Refactored routing to accommodate the new structure and updated import statements for consistency.
- Removed the old filesPage component to streamline the codebase.

* Create knowledgebase_utils.py

* Push initial ingest component

* [autofix.ci] apply automated fixes

* Create initial KB Ingestion component

* [autofix.ci] apply automated fixes

* Fix ruff check on utility functions

* [autofix.ci] apply automated fixes

* Some quick fixes

* Update kb_ingest.py

* [autofix.ci] apply automated fixes

* First version of retrieval component

* [autofix.ci] apply automated fixes

* Update icon

* Update kb_retrieval.py

* [autofix.ci] apply automated fixes

* Add knowledge bases feature with API integration and UI components

* [autofix.ci] apply automated fixes

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

* Refactor imports and update routing paths for assets and main page components. Adjust tab handling in the assets page to reflect URL changes and improve user navigation experience.

* [autofix.ci] apply automated fixes

* Add CreateKnowledgeBaseButton, KnowledgeBaseEmptyState, and KnowledgeBaseSelectionOverlay components. Refactor KnowledgeBasesTab to utilize new components and improve UI for knowledge base management. Introduce utility functions for formatting numbers and average chunk sizes.

* [autofix.ci] apply automated fixes

* PoV: Add Parquet data retrieval to KBRetrievalComponent (#9097)

* Add Parquet data retrieval to KBRetrievalComponent

Introduces a new output to KBRetrievalComponent for returning knowledge base data by reading Parquet files. Updates dependencies to include fastparquet for Parquet support.

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

* Fix some ruff issues

* [autofix.ci] apply automated fixes

* feat: refactor file management and knowledge base components

- Replaced the existing assetsPage with a new filesPage to better organize file management functionalities.
- Introduced KnowledgePage to handle knowledge base operations, integrating KnowledgeBasesTab for displaying and managing knowledge bases.
- Added various components for file and knowledge base management, including CreateKnowledgeBaseButton, KnowledgeBaseEmptyState, and drag-and-drop functionality.
- Updated routing and imports to reflect the new structure and ensure consistency across the application.
- Enhanced user experience with improved UI elements and state management for file selection and operations.

* feat: implement delete confirmation modal for knowledge base deletion

- Added a DeleteConfirmationModal component to confirm deletion actions.
- Integrated the modal into the KnowledgeBasesTab for handling knowledge base deletions.
- Updated column definitions to include a delete button for each knowledge base.
- Enhanced user experience by ensuring deletion actions require confirmation.
- Adjusted styles for the knowledge base table to improve checkbox visibility.

* feat: enhance knowledge base metadata with embedding model detection

- Added `embedding_model` field to `KnowledgeBaseInfo` for improved metadata tracking.
- Implemented `detect_embedding_model` function to extract embedding model information from configuration files.
- Updated `get_kb_metadata` to prioritize metadata extraction from `embedding_metadata.json`, falling back to detection if necessary.
- Modified `KBIngestionComponent` to save embedding model metadata during ingestion.
- Adjusted frontend components to display embedding model information in knowledge base queries and tables.

* refactor: clean up tooltip and value getter comments in knowledge base columns

- Removed redundant comments in the `knowledgeBaseColumns.tsx` file to enhance code clarity.
- Simplified the tooltip and value getter functions for embedding model display.

* [autofix.ci] apply automated fixes

* refactor: simplify KnowledgeBaseSelectionOverlay component

- Removed the unused onExport prop and its associated functionality.
- Cleaned up code formatting for consistency and readability.
- Updated success message strings to use single quotes for uniformity.

* feat: implement bulk and single deletion for knowledge bases

- Added `BulkDeleteRequest` model to handle bulk deletion requests.
- Implemented `delete_knowledge_base` endpoint for single knowledge base deletion.
- Created `delete_knowledge_bases_bulk` endpoint for deleting multiple knowledge bases at once.
- Introduced `useDeleteKnowledgeBase` and `useDeleteKnowledgeBases` hooks for frontend integration.
- Updated `KnowledgeBaseSelectionOverlay` and `KnowledgeBasesTab` components to utilize new deletion functionality with user feedback on success and error handling.

* Initial support for vector search

* feat: add KnowledgeBaseDrawer component for enhanced knowledge base details

- Introduced `KnowledgeBaseDrawer` component to display detailed information about selected knowledge bases.
- Integrated mock data for source files and linked flows, with a layout for displaying descriptions and embedding models.
- Updated `KnowledgeBasesTab` to handle row clicks and open the drawer with relevant knowledge base data.
- Enhanced `KnowledgePage` to manage drawer state and selected knowledge base, improving user interaction and experience.

* [autofix.ci] apply automated fixes

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

* Fix ruff checks

* Update knowledge_bases.py

* feat: update mock data and enhance drawer functionality in KnowledgeBase components

- Replaced mock data in `KnowledgeBaseDrawer` with more descriptive placeholders.
- Added a reference to the drawer in `KnowledgePage` for improved click handling.
- Implemented logic to close the drawer when clicking outside, except for table row clicks.
- Enhanced row click handling to toggle drawer state based on current visibility.

* [autofix.ci] apply automated fixes

* Append scores column to rows

* refactor: improve knowledge base deletion and UI components

- Updated `useDeleteKnowledgeBase` and `useDeleteKnowledgeBases` to enhance parameter naming for clarity.
- Removed the `CreateKnowledgeBaseButton` component and its references to streamline the UI.
- Simplified the `KnowledgeBaseDrawer` and `KnowledgeBasesTab` components by removing mock data and improving state management.
- Enhanced the `KnowledgeBaseSelectionOverlay` to better handle bulk deletions and selection states.
- Refactored various components for consistent styling and improved readability.

* refactor: standardize import statements and improve code readability in SideBarFoldersButtonsComponent

- Updated import statements to use consistent single quotes.
- Refactored various function calls and state management for improved clarity.
- Enhanced folder handling logic and UI interactions for better user experience.

* feat: Add encryption for API keys in KB ingest and retrieval (#9129)

Add encryption for API keys in KB ingest and retrieval

Introduces secure storage of embedding model API keys by encrypting them during knowledge base ingestion and decrypting them during retrieval. Refactors metadata handling to include encrypted API keys, updates retrieval to support decryption and dynamic embedder construction, and improves logging for key operations. Removes legacy embedding client code in retrieval in favor of a provider-based approach.

* [autofix.ci] apply automated fixes

* Fix import of auth utils

* Allow appending to existing knowledge base

* [autofix.ci] apply automated fixes

* Update kb_ingest.py

* Update kb_ingest.py

* feat: enhance table component with editable Vectorize column functionality

- Implemented logic to determine editability of the Vectorize column based on other row values.
- Added checks to refresh grid cells upon changes to the Vectorize column.
- Updated TableAutoCellRender to conditionally disable editing based on Vectorize column state.

* New ingestion creation dialog

* [autofix.ci] apply automated fixes

* Clean up the creation process for KB

* [autofix.ci] apply automated fixes

* Clean up names and descriptions

* Update kb_retrieval.py

* chroma retrieval

* [autofix.ci] apply automated fixes

* Further KB cleanup

* refactor: update KB ingestion component and enhance NodeDialog functionality

- Restored SecretStrInput for API key in KB ingestion component.
- Modified NodeDialog to handle new value format and added support for additional properties.
- Introduced custom hooks for managing global variable states in InputGlobalComponent.
- Improved dropdown component styling and interaction.
- Cleaned up input component code for better readability and maintainability.

* Hash the text as id

* [autofix.ci] apply automated fixes

* Update kb_retrieval.py

* [autofix.ci] apply automated fixes

* Make sure to write out the source parquet

* Remove unneeded old code

* Add ability to block duplicate ingestion chunks

* [autofix.ci] apply automated fixes

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

* Rename retrieval component

* Better refresh mechanism for the retrieve

* Clean up some unused functionality

* Update kb_ingest.py

* Fix dropdown component logic to include checks for refresh button and dialog inputs

* Test the API key before saving knowledge

* [autofix.ci] apply automated fixes

* Allow storing updated api keys if provided at ingest time

* Add Knowledge Bases component and enhance Knowledge Base Empty State

- Introduced a new JSON configuration for Knowledge Bases, defining nodes and edges for data processing.
- Enhanced the KnowledgeBaseEmptyState component to include a button for creating a knowledge base template.
- Updated KnowledgeBasesTab to handle template creation, integrating flow management and navigation features.

* [autofix.ci] apply automated fixes

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

* Update Knowledge Bases.json

* Update Knowledge Bases configuration and enhance UI components

- Updated the code hash in the Knowledge Bases JSON configuration.
- Modified the KnowledgeBaseEmptyState component to change the button icon and text from "Try Knowledge Base Template" to "Create Knowledge".
- Cleared the options for the knowledge base selection dropdowns to ensure they reflect the current state of available knowledge bases.

* [autofix.ci] apply automated fixes

* Implement feature flag for Knowledge Bases functionality

- Added FEATURE_FLAGS.knowledge_bases to control the visibility of knowledge base components in the API and UI.
- Updated the router to conditionally include the knowledge bases router based on the feature flag.
- Modified KBIngestionComponent and KBRetrievalComponent to hide if the knowledge bases feature is disabled.
- Enhanced the initial setup to skip loading knowledge base starter projects when the feature is disabled.
- Updated frontend routes and sidebar components to conditionally render knowledge base options based on the feature flag.
- Adjusted API queries to return an empty array if the knowledge bases feature is disabled.

* [autofix.ci] apply automated fixes

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

* Refactor Knowledge Bases feature flag implementation

- Removed the FEATURE_FLAGS.knowledge_bases flag from backend components and frontend routes.
- Updated the API and UI to always include knowledge base components, simplifying the codebase.
- Adjusted the frontend feature flags to set ENABLE_KNOWLEDGE_BASES to false, ensuring knowledge base features are not displayed.
- Cleaned up related components and routes to reflect the removal of the feature flag, enhancing maintainability.

* revert

* [autofix.ci] apply automated fixes

* Remove Knowledge Bases JSON configuration and clean up KnowledgeBasesTab component by eliminating unused imports and template creation functionality.

* [autofix.ci] apply automated fixes

* Enhance routing structure by adding admin and login routes with protected access. Refactor flow routes for improved organization and clarity.

* added template back

* Use chroma for stats computation

* Fix ruff issue

* [autofix.ci] apply automated fixes

* Update Knowledge Bases.json

* Update Knowledge Bases.json

* Rename to just knowledge

* feat: enhance Jest configuration and add new tests for Knowledge Base components

- Updated jest.config.js to include a new setup file and refined test matching patterns.
- Introduced jest.setup.js for mocking globals and Vite-specific syntax.
- Added tests for KnowledgeBaseDrawer, KnowledgeBaseEmptyState, KnowledgeBaseSelectionOverlay, KnowledgeBasesTab, and KnowledgePage components.
- Created utility functions for testing and mock data for knowledge bases.
- Implemented tests for utility functions related to knowledge base formatting.

* [autofix.ci] apply automated fixes

* refactor: reorganize imports and clean up console log in Dropdown component

- Moved and re-imported necessary dependencies for better structure.
- Removed unnecessary console log statement to clean up the code.

* [autofix.ci] apply automated fixes

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

* feat: add success callback for knowledge base creation in NodeDialog component

- Introduced a new success callback to handle knowledge base creation notifications.
- Enhanced dialog closing logic with a delay for Astra database tracking.
- Reorganized imports for better structure.

* refactor: update table component to handle single-toggle columns

- Renamed functions and variables to improve clarity regarding single-toggle columns (Vectorize and Identifier).
- Updated logic to ensure proper editability checks for single-toggle columns.
- Adjusted related components to reflect changes in column handling and rendering.

* [autofix.ci] apply automated fixes

* feat: Add unit tests for KBIngestionComponent (#9246)

* [autofix.ci] apply automated fixes

* fix: remove unnecessary drawer open state change in KnowledgePage

* [autofix.ci] apply automated fixes

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

* Remove kb_info output from KBIngestionComponent (#9275)

* [autofix.ci] apply automated fixes

* Update Knowledge Bases.json

* Use settings service for knowledge base directory

Replaces the hardcoded knowledge base directory path with a value from the settings service. This improves configurability and centralizes directory management.

* Fix knowledge bases mypy issue

* test: Update file page tests for consistency and clarity

- Changed expected title text from "My Files" to "Files" for accuracy.
- Removed unnecessary parentheses in arrow functions for cleaner syntax.
- Updated test assertions to ensure visibility checks are clear and consistent.
- Improved readability by standardizing the formatting of test cases.

* test: Update expected title in file upload component test for accuracy

- Changed expected title text from "My Files" to "Files" to reflect the correct page title.

* [autofix.ci] apply automated fixes

* Fix tests on backend

* Update kb_ingest.py

* [autofix.ci] apply automated fixes

* Switch to two templates for KB

* Update names and descs

* [autofix.ci] apply automated fixes

* Rename templates

* [autofix.ci] apply automated fixes

---------

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: Edwin Jose <edwin.jose@datastax.com>
2025-08-13 20:15:57 +00:00
Ítalo Johnny
33d7408096
chore: pin uv version to 0.7.20 (#9365) 2025-08-12 13:11:37 -03:00
Ítalo Johnny
2ef8db7552
chore: bump uv minimum version to 0.7.20 (#9364) 2025-08-12 11:31:26 -03:00
Ítalo Johnny
188220eca3
fix: pin uv to 0.5.6 to restore CI compatibility (#9362) 2025-08-12 11:04:34 -03:00
Ítalo Johnny
b5b9d7e77e
deps: update langchain and langchain-community to support Perplexity (#9166) 2025-07-24 18:15:06 +00:00
Cristhian Zanforlin Lousa
264681bf32
fix: Add releaseStage-aware version comparison logic (#8998)
*  (AccountMenu/index.tsx): Add computeNonPrereleaseVersion function to calculate non-prerelease version for comparing versions
📝 (utils.ts): Add computeNonPrereleaseVersion function to extract non-prerelease version for version comparison in AccountMenu component

* refactor: replace computeNonPrereleaseVersion with stripReleaseStageFromVersion for version comparison in AccountMenu component

- Updated AccountMenu to utilize stripReleaseStageFromVersion for determining the latest version.
- Removed computeNonPrereleaseVersion function from utils and replaced it with stripReleaseStageFromVersion for clarity and consistency in version handling.

*  (strip-release-fn.test.ts): add standalone test for stripReleaseStageFromVersion function to avoid dependency issues in test environment

* 📝 (strip-release-fn.test.ts): add detailed documentation for the stripReleaseStageFromVersion function to explain its functionality and examples

* 🐛 (python_code_structured_tool.py): fix issue with handling default values in function arguments to prevent potential errors

* [autofix.ci] apply automated fixes

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-24 01:17:53 +00:00
Edwin Jose
31d37dff75
fix: Relax redis dependency version constraint (#9154)
Relax redis dependency version constraint

Changed the redis dependency in pyproject.toml from an exact version (5.2.1) to a minimum version (>=5.2.1) to allow for newer compatible releases.
2025-07-23 20:03:31 +00:00
Harsha Vardhan Khurdula
8c72ea087c
feat: jigsawstack bundle integration (#8832)
* fix: formatting errors.

* fix: formmating errors for jigsawstack components.

* fix: bugs identified by coderabbitai.

* fix: formatting issues on JigsawStack icon gradient.

* fix: project starters.

* fix: value errors.

* fix: app startup

* fix: resolve merge conflicts, accept incoming changes.

* fix:  follow lexicographical order for bundle names.

Co-authored-by: Edwin Jose <edwinjose900@gmail.com>

* feat: add JigsawStack bundle to the sidebar, following lexographical order.

* fix: remove duplicate changes, by rebasing to main/src/.../styleUtils.ts

* fix: apply suggested fixes for potential issues identified from coderabbitai.

---------

Co-authored-by: Edwin Jose <edwinjose900@gmail.com>
2025-07-09 19:53:12 +00:00
Gabriel Luiz Freitas Almeida
be25e88a97
chore: update package versions to include post-release tags (#8955)
* Bump langflow version to 1.5.0.post1 in pyproject.toml and uv.lock.
* Update langflow-base version to 0.5.0.post1 in related files for consistency.
2025-07-09 17:57:03 +00:00
Gabriel Luiz Freitas Almeida
24db0cdc73 fix: remove crewai dependency and add import guards in crewai components (#8923) 2025-07-08 09:59:46 -03:00
Jordan Frazier
15f2177c90 fix: handle EventLoopBlockError in CI to fix non-deterministic test failures (#8890)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
fix: fixes auth check for auto_login  (#8796)
2025-07-08 09:59:46 -03:00
Gabriel Luiz Freitas Almeida
69ceaea739 chore: Bump version to 1.5.0 and update dependencies
- Updated langflow version to 1.5.0 in pyproject.toml, package.json, and package-lock.json.
- Updated langflow-base dependency to version 0.5.0.
- Added platform markers for several dependencies in uv.lock to improve compatibility across different systems.
2025-07-08 09:59:46 -03:00
Gabriel Luiz Freitas Almeida
7ec3cb063d
chore(deps): update pyleak version and activate pyleak_marker in tests (#8905)
* chore: update pyleak dependency to version 0.1.14 in pyproject.toml and uv.lock

* fix(tests): enable pyleak marker in test files to address memory leak issues
2025-07-07 15:23:25 +00:00
Jordan Frazier
56ff3e12f6
fix: add launcher script to wrap langflow startup (#8884)
* Add launcher script to wrap langflow startup

* [autofix.ci] apply automated fixes

* Ruff

* [autofix.ci] apply automated fixes

* ruff

* [autofix.ci] apply automated fixes

* rut pusff

* [autofix.ci] apply automated fixes

* use exec instead of subprocess

* [autofix.ci] apply automated fixes

* Remove forced run addition to cli

* Integrate Typer for improved error handling in langflow launcher

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-07-07 13:28:54 +00:00
Lucas Oliveira
6460e23bfb
fix: make MCP display loading states when loading tools, surface errors on MCP, sanitize MCP names (#8792)
* Catch timeout errors on check server

* Make errors propagate from the MCP clients

* Apply timeout error handling and made Server change only trigger a loader on the Tools dropdown

* Add placeholder to ToolsInput on errors

* Updated useEffect to run when nothing is selected

* Added timeout handling to mcp component

* Added placeholder to tools component

* removed unused props

* Added timeout handling on loading of tools on config page

* Fixed key pair input not working

* Set key pair values as empty list

* Surface final error from mcp

* Removed ID from tool mode turning on

* Turn exception on to more places

* Fixed cache on mcp component and make tool mode data not reset

* Added loading placeholder only if there are no data

* Refresh data if placeholder is Loading on tool mode

* Show modal if no tools are available

* Add useEffect to run handleOnNewValue if placeholder is Loading actions...

* Removed checks from toolsTable to run handleOnNewValue

* Sanitized MCP name

* Updated message

* Fixed actions not loading in mcp component

* [autofix.ci] apply automated fixes

* reuse mcp servers

* mypy fixes

* fix: update tool reference in MCPToolsComponent to use field_value

* Added last_updated to backend

* get latest version of node and compare last_updated before returning post template value

* assign last updated and only set node class if newTemplate exists

* Adds type

* Removed timeout from backend to frontend

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: phact <estevezsebastian@gmail.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-07-02 15:31:48 +00:00
Deepankar Mahapatro
5734735e2d
test: add pyleak for task and event loop block detections (#8802)
* test: add pyleak for task and event loop block detections

* test: add pyleak for task and event loop block detections

* ci: add env variables for verbose logging

* chore: dummy sleep to shwocase error

* chore: dummy sleep to showcase error

* chore: remove dummy sleep
2025-07-01 13:07:25 +00:00
Lucas Oliveira
f4d761e63d
fix: add error handling and message on mcp servers, fixed tool mode on mcp (#8717)
* Added mcp error handling

* Added error param to servers

* Added error display on mcp servers page

* Added error display on mcp component

* Added error handling for other types of errors

* uv lock update and add error handling

* update mcp version

* fixed tool mode not working on mcp component

* update mcp to 1.9.4

* Removed server parameters custom commands on connection to stdio

* removed unused import

* disable mcp notice

* Removed drop state when home type is mcp

* Added loading before showing tools

* Updated mcp to 1.9.4

* Decreased mcp timeout

* Implemented error surfacing with exec command

* removed non default keys either way when mcp_server is used

* update to session handling

* [autofix.ci] apply automated fixes

* updated it to check if it is the same server to not clear on startup

* update to components

* Update mcp_component.py

* Update mcp_component.py

* Update mcp_component.py

---------

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-06-26 22:22:01 +00:00
Gabriel Luiz Freitas Almeida
e28104c852
fix: update docling dependency to use docling_core instead (#8714)
* chore: update dependencies in pyproject.toml and uv.lock

* Updated `docling` to `docling_core>=2.38.0` in `pyproject.toml`.
* Removed outdated `docling` package entries from `uv.lock`.
* Adjusted dependency markers for `gassist` and `triton` to improve compatibility across platforms.

* chore: downgrade docling_core dependency in pyproject.toml

* Changed `docling_core` version from `>=2.38.0` to `>=2.36.1` for compatibility.
* Added optional dependency group for `docling` with the updated version.

* Added traceloop.py and initialized in service.py, also updated pyproject.toml

* updated returned callbacks list length from 5 to 6. Formatted service.py

* [autofix.ci] apply automated fixes

* OpenInference span kind replaced with Opentelemetry Span kind

* Added traceloop.py and initialized in service.py, also updated pyproject.toml

* updated returned callbacks list length from 5 to 6. Formatted service.py

* [autofix.ci] apply automated fixes

* OpenInference span kind replaced with Opentelemetry Span kind

* Added traceloop.py and initialized in service.py, also updated pyproject.toml

* updated returned callbacks list length from 5 to 6. Formatted service.py

* [autofix.ci] apply automated fixes

* OpenInference span kind replaced with Opentelemetry Span kind

* Updated as per coderabbitai suggested and tested

* Fixed deprecated NoneType

* code formatted

* revert uv.lock

* add new line to uv.lock

* updated service.py

* [autofix.ci] apply automated fixes

* fix(DoclingInlineComponent): add import error handling for missing Docling module

* Revert "Merge branch '2getsandesh/main' into remove-torch-deps"

This reverts commit b95891f0e27e8620873fbe97116709ca5de41e51, reversing
changes made to 9e0f1ae30a6655a82948546035147e0e2fc924ae.

---------

Co-authored-by: Sandesh R <2getsandesh@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Sandesh R <Sandesh.R24@ibm.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
2025-06-25 23:55:50 +00:00
Jordan Frazier
360c2395fb
fix: add a lock check on starter project initialization (#8631)
* Adds a lock check on starter project initialization

* [autofix.ci] apply automated fixes

* ruff fix for exception

* [autofix.ci] apply automated fixes

* Adds a lock check on starter project initialization

* [autofix.ci] apply automated fixes

* fix: Improve logging for lock acquisition failures in starter project creation

* [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>
2025-06-24 18:59:54 +00:00
Michele Dolfi
6631de2aae
feat: Docling components (#8394)
* initial DoclingComponent

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* Correct Docling icon style properties.

Signed-off-by: DKL <dkl@zurich.ibm.com>

* add file_path

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* add load from json and export to various formats

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* add chunking component

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* Update src/backend/base/langflow/components/docling/docling_inline.py

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

* add Docling Serve component

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* apply some suggestions

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* Update src/backend/base/langflow/components/docling/_utils.py

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

* Update src/backend/base/langflow/components/docling/docling_remote.py

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

* add check for DoclingDocument in list

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* fix import

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* add maximum poll timeout and better checks for the retry logic

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* add updated starter_projects

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* refactor _get_converter

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* return only DataFrame

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* remove LoadDoclingDocument

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* more options in the chunk component

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* move docling imports

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* [autofix.ci] apply automated fixes

* move utils to langflow.base

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

---------

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
Signed-off-by: DKL <dkl@zurich.ibm.com>
Co-authored-by: DKL <dkl@zurich.ibm.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-24 17:54:55 +00:00
Jordan Frazier
9f817ca4fb
chore: move goodbye message to main process (#8695)
* move goodbye message to main process

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-24 15:27:18 +00:00
Jordan Frazier
131322cb9b
fix: adds logging to langflow run command (#8466)
* Clean up initialiation of uv run langflow run

* sigint fixes

* Log level fixes and gunicorn logs removal

* sqlalch contraints

* Add back banner for windows

* [autofix.ci] apply automated fixes

* handle sigint sigterms

* [autofix.ci] apply automated fixes

* handle multiple sigints

* more gracefully handle shutdown during init

* [autofix.ci] apply automated fixes

* swallow cancellation during log flush

* fix path import and cleanup

* [autofix.ci] apply automated fixes

* start with step logs

* 📝 (main.py): Comment out logger.info statement to prevent unnecessary logging of static files directory setup information.

* 💡 (langflow/__main__.py): Comment out logger.info message for initializing Langflow to reduce noise in logs and improve readability.

* uncomment logs, change to debug

* 📝 (langflow): remove redundant logger info messages in signal handlers and shutdown process
♻️ (langflow): refactor shutdown process to use a progress indicator for better visibility and control
♻️ (langflow): refactor initialization process to remove redundant logger info messages
📝 (langflow): add methods to print shutdown summary and farewell message after shutdown is complete
📝 (langflow): add method to create a progress indicator for shutdown steps
📝 (langflow): add predefined shutdown steps for Langflow shutdown process
📝 (langflow): add method to create a progress indicator with predefined Langflow initialization steps
📝 (langflow): add method to create a progress indicator with predefined Langflow shutdown steps
📝 (langflow): add predefined shutdown steps in reverse order of initialization
📝 (langflow): add predefined initialization steps for Langflow initialization process
📝 (langflow): add method to print a summary of all completed shutdown steps

* 📝 (api/v1/__init__.py): reorganize imports and include_router calls for better readability and maintainability
🔧 (api/v1/__init__.py): update __all__ list to explicitly include all routers for better module encapsulation
💡 (utils.py): add logging statement to indicate building custom components from specified paths

* Fix ordering of operations for windows builds

* use lowercase log levels for uvicorn

* converts log to lower if set from env var

* [autofix.ci] apply automated fixes

* use a subprocess for windows so progress step can complete

* [autofix.ci] apply automated fixes

* test subprocess for windows

* use subprocess for all architectures

* Clean up global vars and simplify shutdown

* [autofix.ci] apply automated fixes

* 📝 (progress.py): add platform check to use different characters and icons based on the operating system for better compatibility and user experience

* 📝 (langflow/__main__.py): use platform-specific characters for icons to prevent encoding issues and improve cross-platform compatibility

* test for windows

* remove print

* move windows blocking call outside of progres step

* [autofix.ci] apply automated fixes

* log cleanup and timeout of teardown

* remove seemingly unnecessary redirect

* [autofix.ci] apply automated fixes

* ruff

* Add init file to cli dir

* ruff:
:

* unused import

* mypy fixes

* mypy fixes

* [autofix.ci] apply automated fixes

* ruff

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

* Try underscores so ci doesn't remove

* [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>
2025-06-23 17:57:27 +00:00
Jordan Frazier
e5bec89cc8
chore: remove ragstack-ai-knowledge-store dep (#8681)
Remove ragstack-ai-knowledge-store dep
2025-06-23 17:21:32 +00:00
Jordan Frazier
576b78e8eb
docs: update pip install instructions to use uv (#8519)
* update code pip install docs

* update readme to use -U, remove old dockerfile

* [autofix.ci] apply automated fixes

* fix uvlock

* [autofix.ci] apply automated fixes

* uv.lock

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-23 14:56:56 +00:00
Gabriel Luiz Freitas Almeida
dbaa8a1c6f
refactor: simplify init target by removing cache cleanup and adding pre-commit hook (#8590)
* build: add pyyaml dependency

* refactor: simplify init command by removing cache cleaning and langflow run call

* refactor: simplify init target by removing cache cleanup and adding pre-commit hook

* refactor: update langchain_core.prompts import paths to use specific modules

---------

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
2025-06-23 13:46:55 +00:00
Gabriel Luiz Freitas Almeida
092c12f7b6
refactor: remove state manager from Graph class (#8258)
* refactor: remove state management from Graph class

* Remove unused state mgmt methods

* [autofix.ci] apply automated fixes

* refactor: remove GraphStateManager class and its methods

This commit deletes the GraphStateManager class, which was responsible for managing the state within the graph. The removal is part of a cleanup effort to streamline the codebase and eliminate unused components.

* refactor: remove ListenComponent and NotifyComponent classes

This commit deletes the ListenComponent and NotifyComponent classes, which were previously responsible for handling notifications within the system. The removal is part of a codebase cleanup to eliminate unused components and streamline the architecture.

---------

Co-authored-by: Jordan Frazier <jordan.frazier@datastax.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jordan Frazier <122494242+jordanrfrazier@users.noreply.github.com>
2025-06-20 20:03:43 +00:00
Gabriel Luiz Freitas Almeida
4d3eae63ac
feat: conditionally render voice button based on voice mode state (#8561)
* chore: update webrtcvad dependency and add optional audio support

- Updated webrtcvad version requirement to >=1.9.4 in pyproject.toml and uv.lock.
- Moved webrtcvad to optional dependencies under the new 'audio' category in both pyproject.toml files for better modularity.
- Ensured compatibility with existing dependencies while enhancing documentation for optional audio features.

* fix: handle optional import of voice_mode_router in API initialization

- Updated the API router initialization to conditionally include the voice_mode_router if it is available, improving modularity and preventing import errors.
- Adjusted the import statement for voice_mode_router to handle ImportError gracefully, ensuring the application remains robust in its absence.

* feat: add voice mode flag to API configuration

- Introduced a new function `get_voice_mode_enabled` to check for the availability of the `webrtcvad` library, enhancing the API's capability to support voice mode features.
- Updated the `ConfigResponse` schema to include `voice_mode_enabled` flag, allowing clients to query the status of voice mode support.
- Integrated the voice mode feature flag into the `get_config` endpoint response, improving the configurability of the API.

* test: skip voice mode tests if webrtcvad is not installed

- Added a conditional import for the webrtcvad library in the voice mode test suite.
- Implemented a pytest marker to skip tests when webrtcvad is unavailable, enhancing test robustness and preventing unnecessary failures.

* feat: add voice mode state management to flows manager store

- Introduced `voiceModeEnabled` state and `setVoiceModeEnabled` action in the flows manager store to manage the voice mode feature.
- Updated the `ConfigResponse` interface and `useGetConfig` hook to integrate the new voice mode state, allowing for dynamic configuration updates.
- Enhanced the API's configurability by ensuring the voice mode state is properly set based on the API response.

* feat: conditionally render voice button based on voice mode state

- Integrated `voiceModeEnabled` from the flows manager store to control the visibility of the VoiceButton component.
- The VoiceButton will now return null if voice mode is not enabled, enhancing the user interface by preventing unnecessary rendering.

* fix: ensure boolean conversion for voice mode state in config hook

- Updated the `setVoiceModeEnabled` function in the `useGetConfig` hook to explicitly convert the `voice_mode_enabled` value to a boolean, ensuring consistent handling of the voice mode state based on API responses.

* refactor: conditionally import voice_mode_router in API initialization

- Updated the API router to conditionally include the voice_mode_router based on its availability, enhancing modularity and preventing import errors.
- Adjusted the __init__.py file to dynamically add voice_mode_router to the __all__ list if the import is successful, improving the API's robustness.

* chore: revert mcp version update

* refactor: reorder router initialization and add audio flag to backend install task

* feat: add audio module to backend installation command in VS Code tasks

* ci: add audio extras to uv sync in frontend tests
2025-06-17 15:23:12 +00:00
Reid Beels
1950116916
fix: prevent SQLite error in advanced run flow API (#8576)
* fix: prevent SQLite error in advanced run flow API

Passing the flow ID as a string causes a SQLAlchemy error when running
on databases without a dedicated UUID data type. Passing a UUID object
works consistently across both SQLite and PostgreSQL.

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-17 11:39:56 +00:00
Jordan Frazier
b77351331d
fix: replace instances of 127.0.0.1 to localhost (#8536)
* Replace instances of 127.0.0.1 to localhost

* fix some replace-all issues

* fix some replace-all issues

* update starterprojects

* Upgrade uvlock
2025-06-16 15:54:04 +00:00
Eric Hare
b8f72d929d
feat: Add raw content output for File component (#8515)
* Add raw content output for File component

* Update src/backend/base/langflow/base/data/base_file.py

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

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
2025-06-12 23:35:44 +00:00
Jordan Frazier
4b48b63227
build: upgrade langchain-pinecone to be compatible with python 3.13 (#8520)
* Upgrade langchain-pinecone to be compatible with python 3.13

* Add uv pip check to workflow
2025-06-12 20:07:42 +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
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
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