Skip to content
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
65d2e46
refactor: Comment out dependency analysis in build_component_metadata…
ogabrielluiz Sep 24, 2025
913832f
feat: Add CLI check command for outdated components in flows
ogabrielluiz Sep 24, 2025
cb3db4f
feat: Implement component check before execution in CLI
ogabrielluiz Sep 24, 2025
ab59f31
feat: Add check command to Langflow CLI for outdated components
ogabrielluiz Sep 24, 2025
55d3f67
feat: add check command to lfx CLI
ogabrielluiz Sep 24, 2025
41aecbb
[autofix.ci] apply automated fixes
autofix-ci[bot] Sep 25, 2025
42d7432
feat: Add unit tests for check command functionality
ogabrielluiz Sep 25, 2025
d8eb98a
Merge branch 'main' into add-check-command
ogabrielluiz Sep 25, 2025
93ba8d2
[autofix.ci] apply automated fixes
autofix-ci[bot] Sep 25, 2025
c08f9fa
fix: Update code diff generation and improve component update handling
ogabrielluiz Sep 25, 2025
2835dc9
fix: Ensure minimal dependency information is set in component metadata
ogabrielluiz Sep 25, 2025
1533f8f
test: Mark dependency analysis tests as expected failures
ogabrielluiz Sep 25, 2025
263c816
fix: Enhance component loading with security checks and error handling
ogabrielluiz Sep 25, 2025
a1b3d35
test: Add comprehensive security tests for load_specific_components f…
ogabrielluiz Sep 25, 2025
910a4a4
[autofix.ci] apply automated fixes
autofix-ci[bot] Sep 25, 2025
f3397a9
feat: Add in-place update option for flow components
ogabrielluiz Nov 21, 2025
96c494c
test: Enhance unit tests for in-place update functionality
ogabrielluiz Nov 21, 2025
6ef367d
refactor: Simplify command imports and remove synchronous check command
ogabrielluiz Nov 21, 2025
890df9c
fix: Add error handling for unavailable settings service in check_flo…
ogabrielluiz Nov 21, 2025
b20111b
refactor: Improve component loading logic in check_flow_components
ogabrielluiz Nov 21, 2025
3ab100f
refactor: Optimize output type checking in breaking changes validation
ogabrielluiz Nov 21, 2025
d597bb6
feat: Add show_diff option to check_flow_components for detailed code…
ogabrielluiz Nov 21, 2025
9e8a989
test: Add unit tests for interactive mode and show_diff functionality…
ogabrielluiz Nov 21, 2025
894464c
feat: Enhance interactive prompts and output handling in check_flow_c…
ogabrielluiz Nov 21, 2025
8132f56
test: Add unit tests for stdout output handling in check_flow_components
ogabrielluiz Nov 21, 2025
83511b4
feat: Add backup option for in-place updates in check_flow_components
ogabrielluiz Nov 21, 2025
8472035
test: Add unit tests for backup option in check_flow_components
ogabrielluiz Nov 21, 2025
719ac7c
feat: Enhance error handling in check_flow_components
ogabrielluiz Nov 21, 2025
47956e5
test: Add unit test for handling missing code in component checks
ogabrielluiz Nov 21, 2025
d7dbe66
Merge branch 'main' into add-check-command
ogabrielluiz Nov 21, 2025
48604f4
[autofix.ci] apply automated fixes
autofix-ci[bot] Nov 21, 2025
f287cd5
[autofix.ci] apply automated fixes (attempt 2/3)
autofix-ci[bot] Nov 21, 2025
843b9f1
[autofix.ci] apply automated fixes (attempt 3/3)
autofix-ci[bot] Nov 21, 2025
0b7f36a
Merge branch 'main' into add-check-command
ogabrielluiz Nov 21, 2025
4492bf9
[autofix.ci] apply automated fixes
autofix-ci[bot] Nov 21, 2025
12de1f6
[autofix.ci] apply automated fixes (attempt 2/3)
autofix-ci[bot] Nov 21, 2025
d4fe272
refactor: remove redundant backup validation in check_command function
ogabrielluiz Nov 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/backend/base/langflow/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@

# Add LFX commands as a sub-app
try:
from lfx.cli.check import check_command_sync
from lfx.cli.commands import serve_command
from lfx.cli.run import run as lfx_run

lfx_app = typer.Typer(name="lfx", help="Langflow Executor commands")
lfx_app = typer.Typer(name="lfx", help="Langflow Executor commands", no_args_is_help=True)
lfx_app.command(name="serve", help="Serve a flow as an API", no_args_is_help=True)(serve_command)
lfx_app.command(name="run", help="Run a flow directly", no_args_is_help=True)(lfx_run)
lfx_app.command(name="check", help="Check flow for outdated components", no_args_is_help=True)(check_command_sync)

app.add_typer(lfx_app, name="lfx")
except ImportError:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,15 +363,6 @@
"lf_version": "1.5.0",
"metadata": {
"code_hash": "46a90558cb44",
"dependencies": {
"dependencies": [
{
"name": "lfx",
"version": null
}
],
"total_dependencies": 1
},
"module": "lfx.components.input_output.chat.ChatInput"
},
"output_types": [],
Expand Down Expand Up @@ -610,23 +601,6 @@
"lf_version": "1.5.0",
"metadata": {
"code_hash": "ccda4dbe4ae1",
"dependencies": {
"dependencies": [
{
"name": "orjson",
"version": "3.10.15"
},
{
"name": "fastapi",
"version": "0.116.1"
},
{
"name": "lfx",
"version": null
}
],
"total_dependencies": 3
},
"module": "lfx.components.input_output.chat_output.ChatOutput"
},
"output_types": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,6 @@
"lf_version": "1.4.2",
"metadata": {
"code_hash": "46a90558cb44",
"dependencies": {
"dependencies": [
{
"name": "lfx",
"version": null
}
],
"total_dependencies": 1
},
"module": "lfx.components.input_output.chat.ChatInput"
},
"output_types": [],
Expand Down Expand Up @@ -562,23 +553,6 @@
"lf_version": "1.4.2",
"metadata": {
"code_hash": "ccda4dbe4ae1",
"dependencies": {
"dependencies": [
{
"name": "orjson",
"version": "3.10.15"
},
{
"name": "fastapi",
"version": "0.116.1"
},
{
"name": "lfx",
"version": null
}
],
"total_dependencies": 3
},
"module": "lfx.components.input_output.chat_output.ChatOutput"
},
"output_types": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,15 +353,6 @@
"lf_version": "1.4.2",
"metadata": {
"code_hash": "3dd28ea591b9",
"dependencies": {
"dependencies": [
{
"name": "lfx",
"version": null
}
],
"total_dependencies": 1
},
"module": "lfx.components.input_output.text.TextInputComponent"
},
"output_types": [],
Expand Down Expand Up @@ -478,23 +469,6 @@
"lf_version": "1.4.2",
"metadata": {
"code_hash": "ccda4dbe4ae1",
"dependencies": {
"dependencies": [
{
"name": "orjson",
"version": "3.10.15"
},
{
"name": "fastapi",
"version": "0.116.1"
},
{
"name": "lfx",
"version": null
}
],
"total_dependencies": 3
},
"module": "lfx.components.input_output.chat_output.ChatOutput"
},
"output_types": [],
Expand Down Expand Up @@ -755,15 +729,6 @@
"lf_version": "1.4.2",
"metadata": {
"code_hash": "bf19ee6feee3",
"dependencies": {
"dependencies": [
{
"name": "lfx",
"version": null
}
],
"total_dependencies": 1
},
"module": "lfx.components.processing.parser.ParserComponent"
},
"minimized": false,
Expand Down Expand Up @@ -951,27 +916,6 @@
"lf_version": "1.4.2",
"metadata": {
"code_hash": "cdb7d379306e",
"dependencies": {
"dependencies": [
{
"name": "requests",
"version": "2.32.5"
},
{
"name": "bs4",
"version": "4.12.3"
},
{
"name": "langchain_community",
"version": "0.3.21"
},
{
"name": "lfx",
"version": null
}
],
"total_dependencies": 4
},
"module": "lfx.components.data.url.URLComponent"
},
"minimized": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,15 +238,6 @@
"lf_version": "1.6.0",
"metadata": {
"code_hash": "efd11fac2416",
"dependencies": {
"dependencies": [
{
"name": "lfx",
"version": null
}
],
"total_dependencies": 1
},
"module": "lfx.components.helpers.memory.MemoryComponent"
},
"output_types": [],
Expand Down Expand Up @@ -1935,15 +1926,6 @@
"lf_version": "1.6.0",
"metadata": {
"code_hash": "46a90558cb44",
"dependencies": {
"dependencies": [
{
"name": "lfx",
"version": null
}
],
"total_dependencies": 1
},
"module": "lfx.components.input_output.chat.ChatInput"
},
"minimized": true,
Expand Down Expand Up @@ -2192,23 +2174,6 @@
"legacy": false,
"metadata": {
"code_hash": "ccda4dbe4ae1",
"dependencies": {
"dependencies": [
{
"name": "orjson",
"version": "3.10.15"
},
{
"name": "fastapi",
"version": "0.116.1"
},
{
"name": "lfx",
"version": null
}
],
"total_dependencies": 3
},
"module": "lfx.components.input_output.chat_output.ChatOutput"
},
"minimized": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 +148,6 @@
"lf_version": "1.4.3",
"metadata": {
"code_hash": "46a90558cb44",
"dependencies": {
"dependencies": [
{
"name": "lfx",
"version": null
}
],
"total_dependencies": 1
},
"module": "lfx.components.input_output.chat.ChatInput"
},
"output_types": [],
Expand Down Expand Up @@ -389,23 +380,6 @@
"lf_version": "1.4.3",
"metadata": {
"code_hash": "ccda4dbe4ae1",
"dependencies": {
"dependencies": [
{
"name": "orjson",
"version": "3.10.15"
},
{
"name": "fastapi",
"version": "0.116.1"
},
{
"name": "lfx",
"version": null
}
],
"total_dependencies": 3
},
"module": "lfx.components.input_output.chat_output.ChatOutput"
},
"output_types": [],
Expand Down Expand Up @@ -1162,15 +1136,6 @@
"lf_version": "1.4.3",
"metadata": {
"code_hash": "9a1d497f4f91",
"dependencies": {
"dependencies": [
{
"name": "lfx",
"version": null
}
],
"total_dependencies": 1
},
"module": "lfx.components.data.file.FileComponent"
},
"minimized": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,23 +151,6 @@
"lf_version": "1.4.3",
"metadata": {
"code_hash": "ccda4dbe4ae1",
"dependencies": {
"dependencies": [
{
"name": "orjson",
"version": "3.10.15"
},
{
"name": "fastapi",
"version": "0.116.1"
},
{
"name": "lfx",
"version": null
}
],
"total_dependencies": 3
},
"module": "lfx.components.input_output.chat_output.ChatOutput"
},
"minimized": true,
Expand Down Expand Up @@ -414,15 +397,6 @@
"lf_version": "1.4.3",
"metadata": {
"code_hash": "46a90558cb44",
"dependencies": {
"dependencies": [
{
"name": "lfx",
"version": null
}
],
"total_dependencies": 1
},
"module": "lfx.components.input_output.chat.ChatInput"
},
"minimized": true,
Expand Down Expand Up @@ -1214,23 +1188,6 @@
"lf_version": "1.4.3",
"metadata": {
"code_hash": "a5b1b04d9fcc",
"dependencies": {
"dependencies": [
{
"name": "pydantic",
"version": "2.10.6"
},
{
"name": "trustcall",
"version": "0.0.39"
},
{
"name": "lfx",
"version": null
}
],
"total_dependencies": 3
},
"module": "lfx.components.processing.structured_output.StructuredOutputComponent"
},
"minimized": false,
Expand Down
Loading
Loading