Routetest_standard_logging_payload_reports_the_deployment_entry_the_request_was_billed_frompytest.mark.parametrize(
("input_cost_per_token", "output_cost_per_token"),
[(1e-06, 2e-06), (0.0, 0.0
tests/unit/litellm_core_utils/test_litellm_logging.py:None
Routetest_start_shadow_eval_rejectionspytest.mark.parametrize(
"caller,request_overrides,claimed,expected_status",
[
(NON_ADMIN, {},
tests/unit/proxy/management_endpoints/test_auto_router_endpoints.py:None
Routetest_store_batch_output_file_sizes_only_an_unsized_provider_file_from_the_downloaded_resultspytest.mark.parametrize(
("provider", "expected_filename", "expected_bytes"),
[("xai", _XAI_BATCH_ID,
tests/unit/enterprise/proxy/hooks/test_managed_files.py:None
Routetest_store_limited_key_reads_every_string_store_idpytest.mark.parametrize(
("store_ids", "status", "named"),
[
([_OTHER_STORE], 401, _OTHER_STOR
tests/integration/providers/test_malformed_tools_wire.py:None
Routetest_stored_ledger_matches_real_legacy_database_updatespytest.mark.parametrize(
"status,origin,cost",
[
("success", None, 0.25),
("failure",
tests/integration/database/test_spendlogs_ledger_parity.py:None
Routetest_strategy_router_verdict_is_silent_when_part_of_a_group_went_unjudgedpytest.mark.parametrize("judged", [("router-1", "live-1"), ("router-1", "live-1", "dead-1")])
tests/unit/proxy/test_health_check_max_tokens.py:None
Routetest_stream_structured_output_drops_text_after_first_message_itempytest.mark.parametrize(
"structured_output, expected_content",
[
(True, '{"city":"Paris"}'),
tests/unit/completion_extras/litellm_responses_transformation/test_completion_extras_litellm_responses_transformation_transformation.py:None
Routetest_streamable_http_skips_preflight_for_disabled_methodspytest.mark.parametrize(
"disabled,method,params,expected_preflight_calls,extra_request_headers,expected_m
tests/unit/proxy/mcp_server/test_mcp_stale_session.py:None
Routetest_streamed_redaction_on_a_route_without_stream_rewrites_is_enforced_as_a_blockpytest.mark.parametrize("route", ["/v1/messages", "/v1/responses", "/responses", "/unknown/route", None])
tests/unit/proxy/guardrails/guardrail_hooks/test_airia.py:None
Routetest_streaming_iterator_persists_cumulative_usage_across_partial_chunkspytest.mark.parametrize(
"input_update, expected_fresh", [({}, 1000), ({"input_tokens": 0}, 0), ({"input_t
tests/unit/llms/anthropic/chat/test_anthropic_chat_transformation.py:None
Routetest_streaming_poll_joins_the_prediction_output_the_way_str_join_doespytest.mark.parametrize(
("output", "text"),
[
(["Hello", ", ", "world"], "Hello, world"),
tests/unit/llms/replicate/chat/test_handler.py:None
Routetest_streaming_poll_rejects_a_body_that_is_not_an_object_without_echoing_itpytest.mark.parametrize(
"body", [[{"status": "succeeded"}], [], "Request timed out", ["secret-output", 42
tests/unit/llms/replicate/chat/test_handler.py:None
Routetest_streaming_poll_reports_an_output_that_is_not_text_as_unprocessablepytest.mark.parametrize(
"output",
[
None,
5,
0,
1.5,
True,
tests/unit/llms/replicate/chat/test_handler.py:None