litellm/tests/local_testing
Krish Dholakia e4e10aa4ed
Litellm dev 07 21 2025 p1 (#12848)
* fix(main.py): fix async retryer

Fixes https://github.com/BerriAI/litellm/issues/12830

* fix(forward_clientside_headers_by_model_group.py): filter out 'content-type' from forwardable headers

clientside content-type != proxy content type, can cause requests to hang

* test(tests/): update tests
2025-07-21 22:09:39 -07:00
..
.litellm_cache
example_config_yaml test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_configs test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_model_response_typing
adroit-crow-413218-bc47f303efc9.json
azure_fine_tune.jsonl
batch_job_results_furniture.jsonl
cache_unit_tests.py
conftest.py
create_mock_standard_logging_payload.py
data_map.txt
eagle.wav
example.jsonl VertexAI non-jsonl file storage support (#9781) 2025-04-09 14:01:48 -07:00
gettysburg.wav
large_text.py
model_cost.json
openai_batch_completions_router.jsonl
openai_batch_completions.jsonl
speech_vertex.mp3
stream_chunk_testdata.py
test_acompletion_fallbacks.py
test_acompletion.py
test_acooldowns_router.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_add_function_to_prompt.py
test_add_update_models.py Allow team admins to add/update/delete models on UI + show api base and model id on request logs (#9572) 2025-03-27 12:06:31 -07:00
test_aim_guardrails.py Litellm dev 07 05 2025 p3 (#12349) 2025-07-05 18:44:00 -07:00
test_alangfuse.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_amazing_vertex_completion.py Litellm gemini grounding metadata stream (#12673) 2025-07-19 11:52:12 -07:00
test_anthropic_prompt_caching.py
test_arize_ai.py Merge branch 'main' into litellm_arize_dynamic_logging 2025-03-18 22:13:35 -07:00
test_arize_phoenix.py fix arize config tests 2025-05-13 20:21:14 -07:00
test_assistants.py test_create_delete_assistants 2025-07-15 21:35:25 -07:00
test_async_fn.py test_text_completion_stream - hf 2025-07-03 16:00:51 -07:00
test_audio_speech.py feat(speech/): working gemini tts support via openai's /v1/speech endpoint (#11832) 2025-06-18 10:36:25 -07:00
test_auth_utils.py Fix: Respect user_header_name property for budget selection and user identification (#11419) 2025-06-06 14:21:02 -07:00
test_azure_content_safety.py
test_azure_openai.py test: fixes 2025-05-31 12:42:56 -07:00
test_azure_perf.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_bad_params.py test_completion_invalid_param_cohere 2025-04-02 06:49:11 -07:00
test_basic_python_version.py [Feat] MCP expose streamable https endpoint for LiteLLM Proxy (#11645) 2025-06-12 16:32:04 -07:00
test_batch_completion_return_exceptions.py
test_batch_completions.py
test_blocked_user_list.py
test_braintrust.py
test_budget_manager.py
test_caching_handler.py [LLM Translation - Redis] fix: redis caching for embedding response models (#12750) 2025-07-18 16:31:10 -07:00
test_caching_ssl.py test: update tests 2025-05-20 13:08:47 -07:00
test_caching.py test_redis_proxy_batch_redis_get_cache 2025-07-19 15:58:25 -07:00
test_class.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_completion_cost.py test: more testing fixes 2025-05-01 15:36:13 -07:00
test_completion_with_retries.py
test_completion.py Litellm dev 07 21 2025 p1 (#12848) 2025-07-21 22:09:39 -07:00
test_config.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_cost_calc.py
test_custom_api_logger.py
test_custom_callback_input.py test_async_embedding_azure_caching - flaky test 2025-06-14 13:55:29 -07:00
test_custom_callback_router.py Litellm dev 04 30 2025 p1 (#10462) 2025-04-30 22:11:12 -07:00
test_custom_llm.py test: update test with new kwargs 2025-06-11 22:19:17 -07:00
test_custom_logger.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_disk_cache_unit_tests.py
test_dual_cache.py
test_dynamic_rate_limit_handler.py
test_dynamodb_logs.py
test_embedding.py fix cohere InternalServerError error mapping 2025-07-16 16:13:34 -07:00
test_exceptions.py Litellm dev 07 21 2025 p1 (#12848) 2025-07-21 22:09:39 -07:00
test_file_types.py
test_function_call_parsing.py
test_function_calling.py Litellm dev 07 21 2025 p1 (#12848) 2025-07-21 22:09:39 -07:00
test_function_setup.py
test_gcs_bucket.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_get_llm_provider.py test_default_api_base 2025-07-04 18:26:54 -07:00
test_get_model_file.py
test_get_model_info.py test whitelisted models 2025-06-28 14:46:16 -07:00
test_get_optional_params_embeddings.py
test_get_optional_params_functions_not_supported.py
test_google_ai_studio_gemini.py
test_guardrails_ai.py
test_health_check.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_helicone_integration.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_http_parsing_utils.py test_http_parsing_utils.py 2025-07-10 18:20:41 -07:00
test_img_resize.py
test_lakera_ai_prompt_injection.py Merge pull request #9222 from BerriAI/litellm_snowflake_pr_mar_13 2025-03-13 21:35:39 -07:00
test_langchain_ChatLiteLLM.py
test_langsmith.py
test_least_busy_routing.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_litellm_max_budget.py
test_literalai.py
test_llm_guard.py [Refactor] Move LLM Guard, Secret Detection to Enterprise Pip packagea (#10782) 2025-05-13 09:42:22 -07:00
test_load_test_router_s3.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_loadtest_router.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_logfire.py
test_logging.py
test_longer_context_fallback.py
test_lowest_cost_routing.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_lowest_latency_routing.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_lunary.py
test_max_tpm_rpm_limiter.py
test_mem_leak.py
test_mem_usage.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_mock_request.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_model_alias_map.py test: fix test 2025-04-16 07:57:10 -07:00
test_model_max_token_adjust.py
test_multiple_deployments.py
test_ollama_local_chat.py
test_ollama_local.py
test_ollama.py Ensure consistent 'created' across all chunks + set tool call id for ollama streaming calls (#11528) 2025-06-07 20:50:07 -07:00
test_openai_moderations_hook.py
test_opik.py
test_pass_through_endpoints.py oops 2025-03-11 08:27:36 -04:00
test_profiling_router.py
test_prometheus_service.py Embedding caching fixes - handle str -> list cache, set usage tokens for cache hits, combine usage tokens on partial cache hits (#10424) 2025-04-29 21:21:28 -07:00
test_prompt_caching.py
test_prompt_injection_detection.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_promptlayer_integration.py
test_provider_specific_config.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_pydantic_namespaces.py
test_pydantic.py
test_register_model.py
test_router_batch_completion.py
test_router_budget_limiter.py test_provider_budgets_e2e_test_expect_to_fail 2025-07-19 16:00:25 -07:00
test_router_caching.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_router_client_init.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_router_cooldowns.py [Bug fix] Router - handle cooldown_time = 0 for deployments (#12108) 2025-06-27 17:50:35 -07:00
test_router_custom_routing.py
test_router_debug_logs.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_router_fallback_handlers.py (Feat) - return x-litellm-attempted-fallbacks in responses from litellm proxy (#8558) 2025-02-15 14:54:23 -08:00
test_router_fallbacks.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_router_get_deployments.py set flaky tests as flaky 2025-06-14 13:51:52 -07:00
test_router_init.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_router_max_parallel_requests.py
test_router_pattern_matching.py
test_router_policy_violation.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_router_retries.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_router_tag_routing.py fix: Do not add default model on tag based-routing when valid tag (#11454) 2025-06-12 13:18:42 -07:00
test_router_timeout.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_router_utils.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_router_with_fallbacks.py
test_router.py Litellm dev 07 21 2025 p1 (#12848) 2025-07-21 22:09:39 -07:00
test_rules.py
test_sagemaker.py test: mock sagemaker tests 2025-03-21 16:21:18 -07:00
test_scheduler.py
test_secret_detect_hook.py [Refactor] Move LLM Guard, Secret Detection to Enterprise Pip packagea (#10782) 2025-05-13 09:42:22 -07:00
test_simple_shuffle.py
test_spend_calculate_endpoint.py
test_stream_chunk_builder.py test: update groq test - change on their end 2025-05-22 15:02:01 -07:00
test_streaming.py Litellm dev 07 21 2025 p1 (#12848) 2025-07-21 22:09:39 -07:00
test_supabase_integration.py
test_team_config.py
test_text_completion.py test_text_completion_stream - hf 2025-07-03 16:00:51 -07:00
test_timeout.py Update fireworks ai pricing (#10425) 2025-04-29 20:58:05 -07:00
test_together_ai.py
test_tpm_rpm_routing_v2.py test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
test_traceloop.py
test_ui_sso_helper_utils.py
test_unit_test_caching.py (Bug fix) - don't log messages in model_parameters in StandardLoggingPayload (#8932) 2025-03-01 13:39:45 -08:00
test_update_spend.py test_batch_update_spend 2025-04-01 07:12:29 -07:00
test_validate_environment.py
test_wandb.py
test_whisper.py refactor: update model handling in Azure and OpenAI audio transcription classes (#11333) 2025-06-02 16:25:51 -07:00
user_cost.json
vertex_ai.jsonl
vertex_batch_completions.jsonl
vertex_key.json
whitelisted_bedrock_models.txt Add supports_pdf_input: true to Claude 3.7 bedrock models (#9917) 2025-05-01 14:56:54 -07:00