BlogDocs

fix: Add validation for MessageBase type in message input conversion(#4769)

Merged
Comparing
fix-messageinput-validation
(
baf1f8d
) with
main
(
e728e40
)
-28%
IMPROVEMENTS
0
REGRESSIONS
3
UNTOUCHED
12
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
-28%
232.2 ms
324.3 ms
test_successful_run_with_output_type_anyRegression
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_any
-12%
233 ms
266.3 ms
test_successful_run_with_output_type_debugRegression
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_debug
-28%
230.4 ms
321.2 ms

Passed

test_build_flow_from_request_data
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_from_request_data
+1%
401.4 ms
396.4 ms
test_get_all
src/backend/tests/unit/test_endpoints.py::test_get_all
0%
526 ms
525 ms
test_initialize_super_user
src/backend/tests/performance/test_server_init.py::test_initialize_super_user
0%
955.6 ms
954.2 ms
test_load_flows
src/backend/tests/performance/test_server_init.py::test_load_flows
0%
1.2 ms
1.2 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%
707.9 ms
708.4 ms
test_successful_run_with_input_type_text
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_text
0%
230.9 ms
231.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_create_starter_projects
src/backend/tests/performance/test_server_init.py::test_create_starter_projects
0%
1.3 s
1.3 s
test_starter_projects
src/backend/tests/unit/test_endpoints.py::test_starter_projects
0%
986.7 ms
988.5 ms
test_build_flow
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow
-1%
413.9 ms
416.4 ms
test_invalid_run_with_input_type_chat
src/backend/tests/unit/test_endpoints.py::test_invalid_run_with_input_type_chat
-1%
26.6 ms
26.9 ms

Commits

Click on a commit to change the comparison range
base
main
e728e40
-28%
Add validation for MessageBase type in message input conversion
baf1f8d
3 days ago
by ogabrielluiz
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.