Avatar for the langflow-ai user
langflow-ai
langflow
BlogDocsChangelog

refactor: add utility methods for getting display name and improve error messages

#5653Merged
Comparing
add-input-utilities
(
c9f4010
) with
main
(
d9d9cbb
)
CodSpeed Performance Gauge
-94%
Improvements
1
Regressions
3
Untouched
11
New
0
Dropped
0
Ignored
0

Benchmarks

Failed

test_get_and_cache_all_types_dictRegression
src/backend/tests/performance/test_server_init.py::test_get_and_cache_all_types_dict
CodSpeed Performance Gauge
-37%
997.1 µs
1,584.6 µs
test_successful_run_with_input_type_anyRegression
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_any
CodSpeed Performance Gauge
-94%
264.5 ms
4,178.3 ms
test_successful_run_with_input_type_textRegression
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_text
CodSpeed Performance Gauge
-25%
256.5 ms
340.5 ms

Improved

test_successful_run_with_output_type_debug
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_debug
CodSpeed Performance Gauge
+34%
342.6 ms
256.3 ms

Passed

test_setup_llm_caching
src/backend/tests/performance/test_server_init.py::test_setup_llm_caching
CodSpeed Performance Gauge
+1%
965.1 µs
952.9 µs
test_successful_run_with_output_type_any
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_any
CodSpeed Performance Gauge
+1%
246.7 ms
244.9 ms
test_invalid_run_with_input_type_chat
src/backend/tests/unit/test_endpoints.py::test_invalid_run_with_input_type_chat
CodSpeed Performance Gauge
0%
29.4 ms
29.2 ms
test_initialize_services
src/backend/tests/performance/test_server_init.py::test_initialize_services
CodSpeed Performance Gauge
0%
155.3 ms
154.9 ms
test_get_all
src/backend/tests/unit/test_endpoints.py::test_get_all
CodSpeed Performance Gauge
0%
492.3 ms
491.3 ms
test_initialize_super_user
src/backend/tests/performance/test_server_init.py::test_initialize_super_user
CodSpeed Performance Gauge
0%
159.7 ms
159.7 ms
test_create_starter_projects
src/backend/tests/performance/test_server_init.py::test_create_starter_projects
CodSpeed Performance Gauge
0%
1.1 s
1.1 s
test_starter_projects
src/backend/tests/unit/test_endpoints.py::test_starter_projects
CodSpeed Performance Gauge
0%
1.1 s
1.1 s
test_load_flows
src/backend/tests/performance/test_server_init.py::test_load_flows
CodSpeed Performance Gauge
0%
1 ms
1 ms
test_build_flow_from_request_data
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_from_request_data
CodSpeed Performance Gauge
-1%
415.1 ms
421 ms
test_build_flow
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow
CodSpeed Performance Gauge
-2%
402.6 ms
410.9 ms

Commits

Click on a commit to change the comparison range
Base
main
d9d9cbb
-18%
refactor: enhance error message formatting for inputs, outputs, and components - Updated error message formatting to place input, output, and component names at the beginning for better visibility, especially when messages are truncated. - Changed the format of error messages to use square brackets for consistency and improved readability. - Ensured that utility methods for building error messages maintain a user-friendly approach.
044c182
23 days ago
by ogabrielluiz
-76%
[autofix.ci] apply automated fixes
c9f4010
16 days ago
by autofix-ci[bot]
Home Terms PrivacyDocs