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

fix: add tests and adjustments to Chroma component

#5571Merged
Comparing
cz/fix-chroma
(
ca1aee6
) with
main
(
cfaac69
)
CodSpeed Performance Gauge
-22%
Improvements
8
Regressions
2
Untouched
5
New
0
Dropped
0
Ignored
0

Benchmarks

Failed

test_successful_run_with_input_type_anyRegression
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_any
CodSpeed Performance Gauge
-17%
277.8 ms
334 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
-22%
187.7 ms
240.7 ms

Improved

test_get_all
src/backend/tests/unit/test_endpoints.py::test_get_all
CodSpeed Performance Gauge
+22%
551.9 ms
452.5 ms
test_starter_projects
src/backend/tests/unit/test_endpoints.py::test_starter_projects
CodSpeed Performance Gauge
+19%
1,179.4 ms
993.4 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
+14%
31.6 ms
27.7 ms
test_successful_run_with_output_type_debug
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_debug
CodSpeed Performance Gauge
+13%
273.2 ms
242.6 ms
test_build_flow
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow
CodSpeed Performance Gauge
+12%
786.9 ms
705.5 ms
test_build_flow_from_request_data
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_from_request_data
CodSpeed Performance Gauge
+11%
797.6 ms
719.4 ms
test_create_starter_projects
src/backend/tests/performance/test_server_init.py::test_create_starter_projects
CodSpeed Performance Gauge
+10%
1,068 ms
969.9 ms
test_successful_run_with_output_type_any
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_any
CodSpeed Performance Gauge
+10%
259.4 ms
235.6 ms

Passed

test_load_flows
src/backend/tests/performance/test_server_init.py::test_load_flows
CodSpeed Performance Gauge
+8%
1.1 ms
1 ms
test_setup_llm_caching
src/backend/tests/performance/test_server_init.py::test_setup_llm_caching
CodSpeed Performance Gauge
+8%
1,034.9 µs
960.5 µs
test_initialize_super_user
src/backend/tests/performance/test_server_init.py::test_initialize_super_user
CodSpeed Performance Gauge
+4%
166.6 ms
159.6 ms
test_initialize_services
src/backend/tests/performance/test_server_init.py::test_initialize_services
CodSpeed Performance Gauge
+4%
161.8 ms
155.3 ms
test_get_and_cache_all_types_dict
src/backend/tests/performance/test_server_init.py::test_get_and_cache_all_types_dict
CodSpeed Performance Gauge
+2%
1.2 ms
1.1 ms

Commits

Click on a commit to change the comparison range
Base
main
cfaac69
0%
fix: remove unnecessary whitespace in model.py and add missing import in chroma.py
988787d
1 day ago
by ogabrielluiz
-50%
Merge branch 'main' into cz/fix-chroma
6da5b96
1 day ago
by Cristhianzl
+50%
fix: mypy error module has no attribute "timeout"
53e672c
1 day ago
by italojohnny
-53%
Merge branch 'main' into cz/fix-chroma
dc7a2e5
23 hours ago
by Cristhianzl
+32%
fix: mypy error: incompatible redefinition
ca1aee6
4 hours ago
by italojohnny
Home Terms PrivacyDocs