Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
b453a72
feat: add category column to variable model and validation logic
ogabrielluiz Mar 14, 2025
dcf8d0c
feat: add LLM loading and utility functions
ogabrielluiz Mar 14, 2025
ee37cc8
feat: enhance variable management with category support and LLM settings
ogabrielluiz Mar 14, 2025
b1b862a
feat: implement async LLM generation and loading in Component
ogabrielluiz Mar 14, 2025
5699903
test: add unit and integration tests for LLM loading functionality
ogabrielluiz Mar 14, 2025
a9b0d26
feat: add hook to retrieve variables by category and enhance global v…
ogabrielluiz Mar 14, 2025
4890a45
feat: add LLM settings page and integrate into settings navigation
ogabrielluiz Mar 14, 2025
f183436
feat: enhance validation for LLM settings in DatabaseVariableService
ogabrielluiz Mar 14, 2025
2dda874
feat: add async method to retrieve global LLM instance
ogabrielluiz Mar 14, 2025
205f9b1
feat: add nullable category column to variable table in migration script
ogabrielluiz Apr 7, 2025
0fcb3d8
fix: update down_revision in migration script for category column add…
ogabrielluiz Apr 16, 2025
9fc688c
Merge branch 'main' into global-llm
ogabrielluiz Sep 17, 2025
7408646
refactor: remove unused LLM attribute from Component class
ogabrielluiz Sep 17, 2025
0dddf96
feat: add abstract method for retrieving variables by category
ogabrielluiz Sep 17, 2025
320f8ad
feat: add CATEGORY_KB to valid categories in constants
ogabrielluiz Sep 17, 2025
30effce
feat: add non-nullable category column to variable table
ogabrielluiz Sep 17, 2025
9ff9226
chore: clean up package-lock.json by removing deprecated and unused d…
ogabrielluiz Sep 17, 2025
a9a9e02
feat: replace LLMSettingsPage with KBSettingsPage for Knowledge Base …
ogabrielluiz Sep 17, 2025
7825f52
feat: implement vector store factory for Knowledge Bases
ogabrielluiz Sep 17, 2025
6c19fa1
feat: add provider-aware metadata adapters for Knowledge Bases
ogabrielluiz Sep 17, 2025
45a6cfa
feat: enhance metadata extraction for Knowledge Bases with user-aware…
ogabrielluiz Sep 17, 2025
6a42bc5
feat: refactor vector store integration for Knowledge Bases
ogabrielluiz Sep 17, 2025
ba9a795
feat: add unit tests for knowledge bases functionality
ogabrielluiz Sep 17, 2025
51da64d
feat: add unit tests for knowledge bases functionality
ogabrielluiz Sep 17, 2025
4c4e15e
Merge branch 'main' into global-llm
ogabrielluiz Sep 18, 2025
d33858b
feat: enhance OpenSearch vector store integration with new adapter an…
ogabrielluiz Sep 18, 2025
dd95e47
fix: improve OpenSearch metadata adapter functionality and error hand…
ogabrielluiz Sep 18, 2025
07866f5
refactor: enhance OpenSearch with classmethods
ogabrielluiz Sep 18, 2025
74bf0d2
chore: add blank line for improved readability in test file
ogabrielluiz Sep 18, 2025
de4cdf2
refactor: update OpenSearch vector store tests to use new adapter
ogabrielluiz Sep 18, 2025
0227bd8
refactor: update OpenSearch vector store tests to use real adapter
ogabrielluiz Sep 18, 2025
d62f78e
Merge branch 'main' of https://github.com/langflow-ai/langflow into g…
deon-sanchez Oct 16, 2025
4a658ca
chore: update component index
github-actions[bot] Oct 16, 2025
a8ee772
Merge branch 'main' into global-llm
deon-sanchez Oct 16, 2025
0e605b4
chore: update component index
github-actions[bot] Oct 16, 2025
7739c56
Update src/backend/base/langflow/alembic/versions/e5fc330efa7c_add_ca…
erichare Oct 16, 2025
1bb4bb0
Update src/frontend/src/pages/SettingsPage/KBSettingsPage.tsx
erichare Oct 16, 2025
b65362b
Update src/backend/tests/unit/base/knowledge_bases/test_database_fact…
erichare Oct 16, 2025
7d3fcb2
Update src/frontend/src/pages/SettingsPage/KBSettingsPage.tsx
erichare Oct 16, 2025
11d58c2
chore: update component index
github-actions[bot] Oct 16, 2025
ebaa39d
Merge branch 'main' into global-llm
erichare Oct 16, 2025
c8062cc
Update src/backend/tests/unit/base/knowledge_bases/test_metadata_adap…
erichare Oct 16, 2025
763880d
Update src/backend/tests/unit/base/knowledge_bases/test_database_fact…
erichare Oct 16, 2025
2dcc710
chore: update component index
github-actions[bot] Oct 16, 2025
5b224c7
Update vector_store_factory.py
erichare Oct 16, 2025
db4fd7c
chore: update component index
github-actions[bot] Oct 16, 2025
8b8f97c
Update KBSettingsPage.tsx
erichare Oct 16, 2025
d328c49
[autofix.ci] apply automated fixes
autofix-ci[bot] Oct 16, 2025
069d157
Update e5fc330efa7c_add_category_column_in_variable.py
erichare Oct 16, 2025
d6422c5
chore: update component index
github-actions[bot] Oct 16, 2025
99fce7f
Update e5fc330efa7c_add_category_column_in_variable.py
erichare Oct 16, 2025
86c7b8b
chore: update component index
github-actions[bot] Oct 16, 2025
54f8f19
Merge branch 'main' into global-llm
erichare Oct 16, 2025
0734ced
chore: update component index
github-actions[bot] Oct 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Prev Previous commit
Next Next commit
…lobal-llm
  • Loading branch information
deon-sanchez committed Oct 16, 2025
commit d62f78e6f3b103674b633418105ea3c5ad2b52f8
48 changes: 44 additions & 4 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
language: en-US
tone_instructions: ''
tone_instructions: ""
early_access: true
enable_free_tier: true
reviews:
profile: chill
request_changes_workflow: false
high_level_summary: true
high_level_summary_placeholder: '@coderabbitai summary'
high_level_summary_placeholder: "@coderabbitai summary"
high_level_summary_in_walkthrough: false
auto_title_placeholder: '@coderabbitai'
auto_title_placeholder: "@coderabbitai"
auto_title_instructions: Use conventional commits structure
review_status: true
commit_status: true
Expand All @@ -26,7 +26,7 @@ reviews:
poem: false
labeling_instructions: []
path_filters:
- '!src/backend/base/langflow/initial_setup/starter_projects'
- "!src/backend/base/langflow/initial_setup/starter_projects"
path_instructions: []
abort_on_close: true
disable_cache: false
Expand All @@ -42,6 +42,46 @@ reviews:
enabled: true
unit_tests:
enabled: true
pre_merge_checks:
custom_checks:
- name: "Test Coverage for New Implementations"
instructions: |
Check if the PR includes new or updated test files that correspond to the code changes:
1. For new components or functionality, ensure corresponding tests are included in the PR
2. For bug fixes, verify that regression tests are included
3. For new features, ensure both unit and integration tests are present where appropriate
4. Check that test files follow the project's naming conventions (test_*.py for backend, *.test.ts for frontend)
5. Verify that tests actually test the new functionality, not just placeholder tests
mode: "error"
- name: "Test Quality and Coverage"
instructions: |
Evaluate the quality and comprehensiveness of tests for new implementations:
1. Tests should cover the main functionality being implemented
2. For async functions, ensure proper async testing patterns are used (pytest for backend)
3. Check that tests are not just smoke tests but actually validate behavior
4. Ensure tests follow the project's testing patterns (pytest for backend, Playwright for frontend)
5. For API endpoints, verify both success and error response testing
mode: "warning"
- name: "Test File Naming and Structure"
instructions: |
Verify that test files follow the correct patterns and structure:
1. Backend tests: test_*.py with proper pytest structure
2. Frontend tests: *.test.ts or *.test.tsx using Playwright
3. Integration tests should be clearly marked and in appropriate directories
4. Test files should have descriptive test function names that explain what is being tested
5. Tests should be organized logically with proper setup and teardown
6. Consider including edge cases and error conditions for comprehensive coverage
7. Verify tests cover both positive and negative scenarios where appropriate
mode: "warning"
- name: "Excessive Mock Usage Warning"
instructions: |
Review test files for excessive use of mocks that may indicate poor test design:
1. Check if tests have too many mock objects that obscure what's actually being tested
2. Warn when mocks are used instead of testing real behavior and interactions
3. Suggest using real objects or test doubles when mocks become excessive
4. Ensure mocks are used appropriately for external dependencies, not core logic
5. Recommend integration tests when unit tests become overly mocked
mode: "warning"
tools:
ast-grep:
rule_dirs: []
Expand Down
11 changes: 7 additions & 4 deletions .cursor/rules/docs_development.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,16 @@ yarn start # Start dev server (usually port 3001)
```
docs/
├── docs/ # Main documentation content
│ ├── getting-started/ # Getting started guides
│ ├── agents/ # Agent and MCP guides
│ ├── get-started/ # Getting started guides
│ ├── tutorials/ # Langflow tutorials
│ ├── components/ # Component documentation
│ ├── integrations/ # Third-party integrations
│ ├── administration/ # Admin and deployment guides
│ ├── flows/ # Guides to build, run, and test flows
│ ├── deployment/ # Guides for deploying and hosting a Langflow server
│ ├── develop/ # Guides for developing apps with Langflow
│ ├── support/ # Help and release notes
│ ├── contributing/ # Contribution guidelines
│ └── api-reference/ # API documentation
├── blog/ # Blog posts and announcements
├── src/ # Custom React components
├── static/ # Static assets (images, etc.)
├── sidebars.js # Sidebar configuration
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

These instructions will walk you through the process of running a Langflow demo via GitHub Codespaces.

If you want a faster and easier demo experience with Langflow, DataStax Langflow is a hosted environment with zero setup: [Sign up for a free account.](https://astra.datastax.com/signup?type=langflow)
If you want a faster and easier demo experience with Langflow, download and install [Langflow Desktop](https://docs.langflow.org/get-started-installation#install-and-run-langflow-desktop) for the least complicated setup experience.

## Create a Codespace in GitHub

Expand Down
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ LANGFLOW_STORE_ENVIRONMENT_VARIABLES=
# Should enable the MCP composer feature in MCP projects
# Values: true, false
# Default: true
LANGFLOW_FEATURE_MCP_COMPOSER=
LANGFLOW_MCP_COMPOSER_ENABLED=

# STORE_URL
# Example: LANGFLOW_STORE_URL=https://api.langflow.store
Expand Down
8 changes: 8 additions & 0 deletions .github/changes-filter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ frontend:
- ".github/workflows/ci.yml"
docs:
- "docs/**"
docker:
- "docker/**"
- "uv.lock"
- "pyproject.toml"
- "src/backend/**"
- "src/frontend/**"
- ".dockerignore"
- ".github/workflows/docker_test.yml"

# Test categories and their associated paths
starter-projects:
Expand Down
Loading
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.