Skip to content

Conversation

@jordanrfrazier
Copy link
Collaborator

@jordanrfrazier jordanrfrazier commented Sep 19, 2025

Merges some additional commits to release branch back to main

Summary by CodeRabbit

  • New Features

    • MCP Composer integration with per-project URLs and optional OAuth; per-user MCP server configs.
    • Config now exposes voice_mode_available.
    • Starter projects: broader file upload support, improved structured outputs (including DataFrame), and Docling-powered document processing.
  • Documentation

    • Updated sample integrations to default to OpenAI gpt-4.1 models.
  • Bug Fixes

    • Removed logging of default superuser credentials.
    • Database migration adjusts unique constraint on file names.
  • Chores

    • Renamed MCP Composer env flag in example.
    • Added member_servers.json to .gitignore.
    • Dependencies: switched to docling; added easyocr and opencv-python.

jordanrfrazier and others added 30 commits August 26, 2025 23:08
* 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: 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 9bcb694.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <[email protected]>
Co-authored-by: Carlos Coelho <[email protected]>
fix .env load on windows script

Co-authored-by: Ítalo Johnny <[email protected]>
…ent (#9564)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
…fault (#9550)

* Use custom voice assistant on chat input

* Changed mcp composer to default disabled

---------

Co-authored-by: Carlos Coelho <[email protected]>
* refactor: clean up imports and improve code readability in AIML and FlowSidebar components

- Organized import statements in aiml.py and index.tsx for better structure.
- Enhanced formatting in aiml.py for the update_build_config method.
- Updated nodeIconToDisplayIconMap in styleUtils.ts for consistency in AIML label.
- Removed unnecessary console log in FlowSidebarComponent for cleaner code.

* [autofix.ci] apply automated fixes

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

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Carlos Coelho <[email protected]>
fix: Allow updates to file component in templates
)

fix filtering so legacy components aren't shown by default
…#9589)

* Changed Name to Slug, added Close button

* Updated data test id

* Tested closing the sidebar

* fixed test

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* Added stick to bottom dependency

* Removed scroll direction dependency

* Added scroll to bottom action in voice assistant and chat input

* Made messages occupy full width

* Changed chat view to use StickToBottom instead of previous scroll handling mechanism

* Delete unused chat scroll anchor

* Set initial as instant

* Update session name styling
* Added onDelete prop to sidebarDraggableComponent

* Removed unused props

* Added handleDeleteMcpServer

* Add tests for on delete functionality, fixed linting errors

* Format

* Add test on mcp-server to test adding and deleting mcp server from sidebar

* Adds data test id to delete select item

* Changed data test id to not be mcp related

* Added delete confirmation modal to mcp sidebar group

* Changed test to contain modal
…t, change zoom out logic in canvasControls (#9595)

* Fix zoom out to 0.6 instead of 1.0

* remove min zoom on canvascontrolsdropdown, since it's enforced by reactflow

* Changed min zoom to 0.25 and max zoom to 2.0

* Added tests for zoom in and zoom out in canvas controls dropdown
* Changed node icon to not have icon color

* Added portion of test that checks if color is right for mcp component

* Refactor nodeIcon

* removed lucideIcon check for performance

* Changed the test to evaluate color from computed style
…r mcp-projects logic (#9599)

* Add new available field to installed mcps

* Disable auto install field when program not present

* Refactor logic and get back the Available field for the installed

* Added tooltip

* Fixed linting
* fix: Properly allow no OCR engine

* [autofix.ci] apply automated fixes

* Set default to easyocr

* Update docling_inline.py

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
…ray on File component (#9639)

* Changed file type order

* Changed starter projects that had the file component

* order tooltip types alphabetically

* changed order of text_file_types

* Removed duplicate types

* Changed starter projects that used past types

* changed test

* Fixed data test id

* Changed test to expect correct types
autofix-ci bot and others added 23 commits September 18, 2025 00:44
… content dictionary structure

♻️ (test_schema_data.py): Refactor tests to use "image" type instead of "image_url" and remove unnecessary checks for "source_type" in the content dictionary
* fix: Execution of python interpreter

* Update test_python_repl_tool.py

* [autofix.ci] apply automated fixes

---------

Co-authored-by: Carlos Coelho <[email protected]>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 19, 2025

Caution

Review failed

The pull request is closed.

Pull Request Summary

Walkthrough

This pull request introduces comprehensive updates across multiple backend components, focusing on MCP Composer integration, component refactoring, and standardizing starter project configurations. Key changes include renaming environment variables, updating module paths, and enhancing component interfaces.

Changes

Cohort / File(s) Change Summary
MCP Configuration
.env.example
Renamed MCP composer feature flag from LANGFLOW_FEATURE_MCP_COMPOSER to LANGFLOW_MCP_COMPOSER_ENABLED
Backend Authentication
src/backend/base/langflow/api/v1/auth_helpers.py
src/backend/base/langflow/api/v1/mcp_projects.py
Added new authentication and MCP Composer orchestration utilities, including project registration, composer management, and enhanced auth handling
Starter Project Refactoring
src/backend/base/langflow/initial_setup/starter_projects/*
Standardized component interfaces across multiple starter projects, removing color/icon inputs, expanding file type support, and updating component implementations
Dependency Management
pyproject.toml
Updated dependencies, including replacing docling_core with docling and adding new runtime dependencies
Module Relocation
src/backend/base/langflow/base/__init__.py
Removed langflow-specific re-export of knowledge_bases module

Sequence Diagram

sequenceDiagram
    participant User
    participant MCPComposer
    participant AuthService
    participant ProjectManager

    User->>AuthService: Authenticate
    AuthService->>ProjectManager: Verify Project Access
    ProjectManager->>MCPComposer: Register/Start Composer
    MCPComposer-->>ProjectManager: Composer Initialized
    ProjectManager-->>User: Access Granted
Loading

Estimated Code Review Effort

🎯 5 (Critical) | ⏱️ ~120 minutes

This rating reflects the extensive changes across multiple files, complex authentication and MCP Composer integration, widespread refactoring of starter projects, and significant architectural modifications.

Possibly Related PRs

✨ Finishing touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch merge/release-1.6.0-to-main-v2

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between bb098a5 and a46da1c.

⛔ Files ignored due to path filters (1)
  • src/frontend/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (33)
  • .env.example (1 hunks)
  • .gitignore (1 hunks)
  • docker/build_and_push.Dockerfile (1 hunks)
  • docs/docs/Integrations/Cleanlab/eval_and_remediate_cleanlab.json (2 hunks)
  • docs/docs/Integrations/Notion/Conversational_Notion_Agent.json (1 hunks)
  • docs/docs/Integrations/Notion/Meeting_Notes_Agent.json (2 hunks)
  • pyproject.toml (1 hunks)
  • src/backend/base/langflow/__main__.py (2 hunks)
  • src/backend/base/langflow/alembic/versions/d37bc4322900_drop_single_constraint_on_files_name_.py (1 hunks)
  • src/backend/base/langflow/api/build.py (2 hunks)
  • src/backend/base/langflow/api/v1/auth_helpers.py (1 hunks)
  • src/backend/base/langflow/api/v1/mcp_projects.py (21 hunks)
  • src/backend/base/langflow/api/v1/projects.py (7 hunks)
  • src/backend/base/langflow/api/v1/schemas.py (2 hunks)
  • src/backend/base/langflow/api/v2/files.py (3 hunks)
  • src/backend/base/langflow/api/v2/mcp.py (6 hunks)
  • src/backend/base/langflow/base/__init__.py (0 hunks)
  • src/backend/base/langflow/initial_setup/setup.py (4 hunks)
  • src/backend/base/langflow/initial_setup/starter_projects/Basic Prompt Chaining.json (5 hunks)
  • src/backend/base/langflow/initial_setup/starter_projects/Basic Prompting.json (5 hunks)
  • src/backend/base/langflow/initial_setup/starter_projects/Blog Writer.json (3 hunks)
  • src/backend/base/langflow/initial_setup/starter_projects/Custom Component Generator.json (7 hunks)
  • src/backend/base/langflow/initial_setup/starter_projects/Document Q&A.json (13 hunks)
  • src/backend/base/langflow/initial_setup/starter_projects/Financial Report Parser.json (7 hunks)
  • src/backend/base/langflow/initial_setup/starter_projects/Hybrid Search RAG.json (8 hunks)
  • src/backend/base/langflow/initial_setup/starter_projects/Image Sentiment Analysis.json (7 hunks)
  • src/backend/base/langflow/initial_setup/starter_projects/Instagram Copywriter.json (8 hunks)
  • src/backend/base/langflow/initial_setup/starter_projects/Invoice Summarizer.json (8 hunks)
  • src/backend/base/langflow/initial_setup/starter_projects/Knowledge Ingestion.json (4 hunks)
  • src/backend/base/langflow/initial_setup/starter_projects/Knowledge Retrieval.json (7 hunks)
  • src/backend/base/langflow/initial_setup/starter_projects/Market Research.json (10 hunks)
  • src/backend/base/langflow/initial_setup/starter_projects/Meeting Summary.json (13 hunks)
  • src/backend/base/langflow/initial_setup/starter_projects/Memory Chatbot.json (7 hunks)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added the enhancement New feature or request label Sep 19, 2025
@sonarqubecloud
Copy link

@jordanrfrazier jordanrfrazier self-assigned this Sep 19, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.