litellm/tests/local_testing
2024-10-30 11:09:50 -07:00
..
.litellm_cache refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
example_config_yaml (feat) - allow using os.environ/ vars for any value on config.yaml (#6276) 2024-10-19 09:00:27 +05:30
test_configs Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
test_model_response_typing refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
adroit-crow-413218-bc47f303efc9.json refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
azure_fine_tune.jsonl refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
batch_job_results_furniture.jsonl refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
conftest.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
data_map.txt refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
eagle.wav refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
gettysburg.wav refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
large_text.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
log.txt LiteLLM Minor Fixes & Improvements (10/02/2024) (#6023) 2024-10-02 22:00:28 -04:00
messages_with_counts.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
model_cost.json refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
openai_batch_completions.jsonl refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
openai_batch_completions_router.jsonl refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
speech_vertex.mp3 refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
stream_chunk_testdata.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_acompletion.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_acooldowns_router.py (perf) Litellm redis router fix - ~100ms improvement (#6483) 2024-10-29 13:58:29 -07:00
test_add_function_to_prompt.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_add_update_models.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_alangfuse.py LiteLLM Minor Fixes & Improvements (10/24/2024) (#6441) 2024-10-28 15:05:20 -07:00
test_alerting.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_amazing_s3_logs.py Revert "(perf) move s3 logging to Batch logging + async [94% faster p… (#6275) 2024-10-17 16:14:57 +05:30
test_amazing_vertex_completion.py feat(proxy_cli.py): add new 'log_config' cli param (#6352) 2024-10-21 21:25:58 -07:00
test_anthropic_prompt_caching.py (feat proxy slack alerting) - allow opting in to getting key / internal user alerts (#5990) 2024-10-01 10:49:22 -07:00
test_aproxy_startup.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_arize_ai.py (feat) Arize - Allow using Arize HTTP endpoint (#6364) 2024-10-23 09:38:35 +05:30
test_assistants.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_async_fn.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_audio_speech.py test(router_code_coverage.py): check if all router functions are dire… (#6186) 2024-10-14 22:44:00 -07:00
test_audit_logs_proxy.py fix test audit logs 2024-10-25 18:21:17 +04:00
test_auth_checks.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_auth_utils.py LiteLLM Minor Fixes & Improvements (10/17/2024) (#6293) 2024-10-17 22:09:11 -07:00
test_azure_content_safety.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_azure_openai.py (refactor router.py ) - PR 3 - Ensure all functions under 100 lines (#6181) 2024-10-14 21:27:54 +05:30
test_azure_perf.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_bad_params.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
test_banned_keyword_list.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_batch_completion_return_exceptions.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_batch_completions.py (fix) batch_completion fails with bedrock due to extraneous [max_workers] key (#6176) 2024-10-12 14:10:24 +05:30
test_bedrock_completion.py LiteLLM Minor Fixes & Improvements (10/04/2024) (#6064) 2024-10-04 21:28:53 -04:00
test_blocked_user_list.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_braintrust.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_budget_manager.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
test_caching.py Litellm dev 10 29 2024 (#6502) 2024-10-29 22:04:16 -07:00
test_caching_handler.py (testing) add unit tests for LLMCachingHandler Class (#6279) 2024-10-17 19:12:57 +05:30
test_caching_ssl.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_clarifai_completion.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_class.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_cohere_completion.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_completion.py test: cleanup codestral tests - backend api unavailable 2024-10-23 22:19:57 -07:00
test_completion_cost.py Litellm dev 10 22 2024 (#6384) 2024-10-22 21:18:54 -07:00
test_completion_with_retries.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_config.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_cost_calc.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_custom_api_logger.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_custom_callback_input.py Litellm openai audio streaming (#6325) 2024-10-19 16:16:51 -07:00
test_custom_callback_router.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
test_custom_llm.py Litellm Minor Fixes & Improvements (10/12/2024) (#6179) 2024-10-12 11:48:34 -07:00
test_custom_logger.py build(config.yml): add codecov to repo (#6172) 2024-10-12 14:48:17 -07:00
test_datadog.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_deployed_proxy_keygen.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_dual_cache.py (router_strategy/) ensure all async functions use async cache methods (#6489) 2024-10-29 21:07:17 +05:30
test_dynamic_rate_limit_handler.py LiteLLM Minor Fixes & Improvements (10/15/2024) (#6242) 2024-10-16 07:32:06 -07:00
test_dynamodb_logs.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_embedding.py LiteLLM Minor Fixes & Improvements (10/24/2024) (#6421) 2024-10-25 15:55:56 -07:00
test_exceptions.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_file_types.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_fine_tuning_api.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
test_function_call_parsing.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_function_calling.py test: refactor gemini test to use mock, prevent ratelimit error 2024-10-30 11:09:50 -07:00
test_function_setup.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_gcs_bucket.py (code clean up) use a folder for gcs bucket logging + add readme in folder (#6080) 2024-10-05 16:58:10 +05:30
test_get_llm_provider.py LiteLLM Minor Fixes & Improvements (10/24/2024) (#6421) 2024-10-25 15:55:56 -07:00
test_get_model_file.py LiteLLM Minor Fixes & Improvements (10/05/2024) (#6083) 2024-10-05 18:59:11 -04:00
test_get_model_info.py feat(custom_logger.py): expose new async_dataset_hook for modifying… (#6331) 2024-10-20 09:00:04 -07:00
test_get_model_list.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_get_optional_params_embeddings.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_get_optional_params_functions_not_supported.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_get_secret.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_google_ai_studio_gemini.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_guardrails_ai.py LiteLLM Minor Fixes & Improvements (10/15/2024) (#6242) 2024-10-16 07:32:06 -07:00
test_guardrails_config.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_health_check.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_helicone_integration.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_hf_prompt_templates.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_image_generation.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_img_resize.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_jwt.py LiteLLM Minor Fixes & Improvements (10/18/2024) (#6320) 2024-10-19 22:23:27 -07:00
test_key_generate_dynamodb.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
test_key_generate_prisma.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_lakera_ai_prompt_injection.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_langchain_ChatLiteLLM.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_langsmith.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_least_busy_routing.py (router_strategy/) ensure all async functions use async cache methods (#6489) 2024-10-29 21:07:17 +05:30
test_litellm_max_budget.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_literalai.py Litellm Minor Fixes & Improvements (10/03/2024) (#6049) 2024-10-03 18:02:28 -04:00
test_llm_guard.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_load_test_router_s3.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_loadtest_router.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_logfire.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_logging.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_longer_context_fallback.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_lowest_cost_routing.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_lowest_latency_routing.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_lunary.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_max_tpm_rpm_limiter.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_mem_usage.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_mock_request.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
test_model_alias_map.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_model_max_token_adjust.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_multiple_deployments.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_ollama.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_ollama_local.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_ollama_local_chat.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_openai_batches_and_files.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_openai_moderations_hook.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_opik.py [Feat] Observability integration - Opik by Comet (#6062) 2024-10-10 18:27:50 +05:30
test_parallel_request_limiter.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_pass_through_endpoints.py Litellm Minor Fixes & Improvements (10/12/2024) (#6179) 2024-10-12 11:48:34 -07:00
test_presidio_masking.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_profiling_router.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_prometheus.py (refactor) prometheus async_log_success_event to be under 100 LOC (#6416) 2024-10-24 16:41:09 +04:00
test_prometheus_service.py (fix) PrometheusServicesLogger _get_metric should return metric in Registry (#6486) 2024-10-29 21:29:19 +05:30
test_prompt_caching.py LiteLLM Minor Fixes & Improvements (10/05/2024) (#6083) 2024-10-05 18:59:11 -04:00
test_prompt_factory.py LiteLLM Minor Fixes & Improvements (10/24/2024) (#6421) 2024-10-25 15:55:56 -07:00
test_prompt_injection_detection.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_promptlayer_integration.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_provider_specific_config.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
test_proxy_config_unit_test.py (feat) - allow using os.environ/ vars for any value on config.yaml (#6276) 2024-10-19 09:00:27 +05:30
test_proxy_custom_auth.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_proxy_custom_logger.py LiteLLM Minor Fixes & Improvements (10/15/2024) (#6242) 2024-10-16 07:32:06 -07:00
test_proxy_encrypt_decrypt.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_proxy_exception_mapping.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_proxy_gunicorn.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_proxy_pass_user_config.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_proxy_reject_logging.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_proxy_routes.py fix RouteChecks test 2024-10-25 10:48:00 +04:00
test_proxy_server.py LiteLLM Minor Fixes & Improvements (10/24/2024) (#6421) 2024-10-25 15:55:56 -07:00
test_proxy_server_caching.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_proxy_server_cost.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_proxy_server_keys.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_proxy_server_langfuse.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_proxy_server_spend.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_proxy_setting_guardrails.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_proxy_token_counter.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_proxy_utils.py feat(litellm_pre_call_utils.py): support 'add_user_information_to_llm… (#6390) 2024-10-24 22:03:16 -07:00
test_pydantic.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_pydantic_namespaces.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_python_38.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_register_model.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_rerank.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_router.py (perf) Litellm redis router fix - ~100ms improvement (#6483) 2024-10-29 13:58:29 -07:00
test_router_batch_completion.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_router_caching.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_router_client_init.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_router_cooldowns.py redis otel tracing + async support for latency routing (#6452) 2024-10-28 21:52:12 -07:00
test_router_custom_routing.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_router_debug_logs.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_router_fallback_handlers.py Litellm router max depth (#6501) 2024-10-29 22:05:41 -07:00
test_router_fallbacks.py Litellm router max depth (#6501) 2024-10-29 22:05:41 -07:00
test_router_get_deployments.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_router_init.py Revert "(refactor) litellm.Router client initialization utils (#6394)" (#6403) 2024-10-23 20:31:57 +05:30
test_router_max_parallel_requests.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_router_pattern_matching.py LiteLLM Minor Fixes & Improvements (10/23/2024) (#6407) 2024-10-24 19:01:41 -07:00
test_router_policy_violation.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_router_retries.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_router_tag_routing.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_router_timeout.py Litellm dev 10 29 2024 (#6502) 2024-10-29 22:04:16 -07:00
test_router_utils.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
test_router_with_fallbacks.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_rules.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
test_sagemaker.py LiteLLM Minor Fixes & Improvements (10/04/2024) (#6064) 2024-10-04 21:28:53 -04:00
test_scheduler.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_secret_detect_hook.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_secret_manager.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_simple_shuffle.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_spend_calculate_endpoint.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_spend_logs.py LiteLLM Minor Fixes & Improvements (10/15/2024) (#6242) 2024-10-16 07:32:06 -07:00
test_stream_chunk_builder.py Litellm openai audio streaming (#6325) 2024-10-19 16:16:51 -07:00
test_streaming.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_supabase_integration.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
test_team_config.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_text_completion.py test: cleanup codestral tests - backend api unavailable 2024-10-23 22:19:57 -07:00
test_timeout.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_together_ai.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_token_counter.py Litellm dev 10 22 2024 (#6384) 2024-10-22 21:18:54 -07:00
test_tpm_rpm_routing_v2.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_traceloop.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_triton.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_ui_sso_helper_utils.py LiteLLM Minor Fixes & Improvements (10/17/2024) (#6293) 2024-10-17 22:09:11 -07:00
test_unit_test_caching.py (perf) Litellm redis router fix - ~100ms improvement (#6483) 2024-10-29 13:58:29 -07:00
test_update_spend.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_user_api_key_auth.py test_is_ui_route_allowed 2024-10-25 10:37:11 +04:00
test_utils.py LiteLLM Minor Fixes & Improvements (10/24/2024) (#6421) 2024-10-25 15:55:56 -07:00
test_validate_environment.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_wandb.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_whisper.py test(router_code_coverage.py): check if all router functions are dire… (#6186) 2024-10-14 22:44:00 -07:00
user_cost.json refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
vertex_ai.jsonl refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
vertex_key.json refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00