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

fix: Ensure attribute existence before accessing in AgentExecutor initialization

#4667Merged
Comparing
4663-sqlagent-requiring-chat_history
(
b0b6dc0
) with
main
(
a7aa3ab
)
-41%
Improvements
1
Regressions
1
Untouched
13
New
0
Dropped
0
Ignored
0

Benchmarks

Failed

test_successful_run_with_input_type_textRegression
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_text
-41%
175.6 ms
296.6 ms

Improved

test_successful_run_with_output_type_any
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_any
+42%
311.6 ms
219.4 ms

Passed

test_load_flows
src/backend/tests/performance/test_server_init.py::test_load_flows
+2%
1.3 ms
1.2 ms
test_successful_run_with_output_type_debug
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_debug
+1%
296.4 ms
294.6 ms
test_initialize_services
src/backend/tests/performance/test_server_init.py::test_initialize_services
0%
423.7 ms
423.3 ms
test_build_flow_from_request_data
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_from_request_data
0%
380.2 ms
380 ms
test_create_starter_projects
src/backend/tests/performance/test_server_init.py::test_create_starter_projects
0%
966.1 ms
966.4 ms
test_starter_projects
src/backend/tests/unit/test_endpoints.py::test_starter_projects
0%
1.2 s
1.2 s
test_get_all
src/backend/tests/unit/test_endpoints.py::test_get_all
0%
526.3 ms
526.6 ms
test_build_flow
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow
0%
397.6 ms
397.9 ms
test_initialize_super_user
src/backend/tests/performance/test_server_init.py::test_initialize_super_user
0%
669.2 ms
670.1 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_get_and_cache_all_types_dict
src/backend/tests/performance/test_server_init.py::test_get_and_cache_all_types_dict
-1%
1 ms
1.1 ms
test_successful_run_with_input_type_any
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_any
-1%
219.1 ms
220.7 ms
test_invalid_run_with_input_type_chat
src/backend/tests/unit/test_endpoints.py::test_invalid_run_with_input_type_chat
-2%
26.6 ms
27 ms

Commits

Click on a commit to change the comparison range
Base
main
a7aa3ab
-41%
Ensure attribute existence before accessing in AgentExecutor initialization
b0b6dc0
10 days ago
by ogabrielluiz
Home Terms PrivacyDocs