Avatar for the langflow-ai user
langflow-ai
langflow
BlogDocs

feat(component): API Request Component Overhaul

#5007
Comparing
Vigtu:api-request-component-overhaul
(
444bf10
) with
main
(
19d2974
)
-86%
Improvements
2
Regressions
3
Untouched
10
New
0
Dropped
0
Ignored
0

Benchmarks

Failed

test_load_flowsRegression
src/backend/tests/performance/test_server_init.py::test_load_flows
-86%
1.3 ms
9 ms
test_successful_run_with_output_type_anyRegression
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_any
-35%
189.9 ms
293.3 ms
test_successful_run_with_output_type_debugRegression
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_debug
-28%
232.3 ms
322.6 ms

Improved

test_successful_run_with_input_type_any
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_any
+53%
325.1 ms
212.5 ms
test_successful_run_with_input_type_text
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_text
+19%
232.2 ms
194.4 ms

Passed

test_invalid_run_with_input_type_chat
src/backend/tests/unit/test_endpoints.py::test_invalid_run_with_input_type_chat
+1%
27.4 ms
27 ms
test_get_all
src/backend/tests/unit/test_endpoints.py::test_get_all
0%
527.1 ms
526.4 ms
test_get_and_cache_all_types_dict
src/backend/tests/performance/test_server_init.py::test_get_and_cache_all_types_dict
0%
1 ms
1 ms
test_initialize_services
src/backend/tests/performance/test_server_init.py::test_initialize_services
0%
710.3 ms
709.6 ms
test_initialize_super_user
src/backend/tests/performance/test_server_init.py::test_initialize_super_user
0%
957.6 ms
957.2 ms
test_create_starter_projects
src/backend/tests/performance/test_server_init.py::test_create_starter_projects
0%
1.3 s
1.3 s
test_build_flow_from_request_data
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_from_request_data
0%
404.7 ms
405 ms
test_setup_llm_caching
src/backend/tests/performance/test_server_init.py::test_setup_llm_caching
0%
1.6 ms
1.6 ms
test_starter_projects
src/backend/tests/unit/test_endpoints.py::test_starter_projects
-1%
1 s
1 s
test_build_flow
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow
-2%
414 ms
420.4 ms

Commits

Click on a commit to change the comparison range
Base
main
19d2974
-86%
[autofix.ci] apply automated fixes
444bf10
2 days ago
by autofix-ci[bot]
Home Terms PrivacyDocs