litellm-mirror/litellm/tests
2024-05-31 08:10:47 -07:00
..
example_config_yaml test(test_proxy_server.py): fix test to use valid redis host 2024-04-19 19:22:24 -07:00
test_configs test: reintegrate s3 testing 2024-03-07 08:56:59 -08:00
test_model_response_typing
conftest.py fix(router.py): cooldown deployments, for 401 errors 2024-04-30 17:54:00 -07:00
data_map.txt
langfuse.log test: fix linting error 2024-05-07 13:12:06 -07:00
large_text.py feat(router.py): enable pre-call checks 2024-03-23 18:03:30 -07:00
litellm_uuid.txt
log.txt fix(vertex_ai.py): passing all tests on 'test_amazing_vertex_completion.py 2024-05-19 12:22:21 -07:00
model_cost.json
openai_batch_completions.jsonl test - openai batches file 2024-05-28 14:54:58 -07:00
test_acompletion.py fix completion vs acompletion params 2024-05-09 07:59:37 -07:00
test_acooldowns_router.py fix(router.py): fix router should_retry 2024-04-27 15:13:20 -07:00
test_add_function_to_prompt.py test: update tests 2024-03-04 18:42:08 -08:00
test_add_update_models.py fix migrate to LitellmUserRoles 2024-05-30 13:57:50 -07:00
test_alangfuse.py test(test_alangfuse.py): skip langfuse test 2024-05-21 19:00:12 -07:00
test_alerting.py feat(proxy_server.py): emit webhook event whenever customer spend is tracked 2024-05-29 15:59:32 -07:00
test_amazing_s3_logs.py (ci/cd) aws suspended account 2024-04-04 17:43:16 -07:00
test_amazing_vertex_completion.py fix(vertex_ai.py): handle nested content dictionary for assistant message 2024-05-24 22:47:47 -07:00
test_aproxy_startup.py (fix) proxy_startup test 2024-02-06 13:17:57 -08:00
test_assistants.py test(test_assistants.py): cleanup tests 2024-05-04 21:31:07 -07:00
test_async_fn.py Merge pull request #2236 from BerriAI/litellm_faster_usage_logs_pg_db 2024-02-28 17:08:55 -08:00
test_audio_speech.py fix(openai.py): fix openai response for /audio/speech endpoint 2024-05-30 16:41:06 -07:00
test_auth_checks.py test(test_auth_checks.py): add unit tests for customer max budget check 2024-05-29 18:03:59 -07:00
test_azure_content_safety.py fix failing azure content safety errors 2024-05-11 18:19:00 -07:00
test_azure_perf.py fix(router.py): fix typing 2024-05-13 18:06:10 -07:00
test_bad_params.py (test) fix test_completion_invalid_param_cohere 2024-01-29 17:03:58 -08:00
test_banned_keyword_list.py test: refactor testing to handle the hash token fix 2024-04-17 17:31:39 -07:00
test_batch_completion_return_exceptions.py Make return-exceptions as default behavior in litellm.batch_completion 2024-05-24 11:09:11 +08:00
test_batch_completions.py test(test_batch_completions.py): handle anthropic overloaded error 2024-03-26 13:55:03 -07:00
test_bedrock_completion.py fix(main.py): pass extra headers through for async calls 2024-05-27 19:11:40 -07:00
test_blocked_user_list.py test: refactor testing to handle the hash token fix 2024-04-17 17:31:39 -07:00
test_budget_manager.py
test_caching.py test(test_caching.py): use mock_response in disk cache test 2024-05-10 11:00:18 +02:00
test_caching_ssl.py
test_clarifai_completion.py fix clarifai - test 2024-05-11 16:54:22 -07:00
test_class.py feat(main.py): support router.chat.completions.create 2024-03-25 08:26:28 -07:00
test_clickhouse_logger.py (test) clickhouse 2024-02-26 18:56:43 -08:00
test_cohere_completion.py (fix) use cohere_chat optional params 2024-03-12 14:31:43 -07:00
test_completion.py ci/cd bump python v 2024-05-31 08:10:47 -07:00
test_completion_cost.py fix(utils.py): allow passing in custom pricing to completion_cost as params 2024-05-16 16:24:44 -07:00
test_completion_with_retries.py test(test_completion_with_retries.py): remove duplicate test 2024-01-10 21:17:30 +05:30
test_config.py Merge branch 'main' into fix-pydantic-warnings-again 2024-05-31 11:35:42 +08:00
test_custom_api_logger.py (fix) custom api testing 2024-02-15 17:25:30 -08:00
test_custom_callback_input.py feat(lowest_latency.py): route by time to first token, for streaming requests (if available) 2024-05-21 13:08:17 -07:00
test_custom_callback_router.py (fix) azure_base_model cost calc 2024-02-07 18:18:15 -08:00
test_custom_logger.py test(test_router_fallbacks.py): fix test 2024-05-10 09:58:40 -07:00
test_datadog.py (test) dd test 2024-03-18 16:22:59 -07:00
test_deployed_proxy_keygen.py
test_dynamodb_logs.py (test) AWS Suspended Account 2024-02-28 18:40:59 -08:00
test_embedding.py feat(databricks.py): add embedding model support 2024-05-23 18:22:03 -07:00
test_exceptions.py test - exceptions predibase 2024-05-15 16:53:41 -07:00
test_function_call_parsing.py test(test_function_call_parsing.py): add test for function call parsing 2024-05-08 10:54:26 -07:00
test_function_calling.py fix function calling mistral large latest 2024-05-15 16:05:17 -07:00
test_function_setup.py fix(proxy/utils.py): log rejected proxy requests to langfuse 2024-04-25 19:26:27 -07:00
test_get_llm_provider.py (test) mistral on azure ai studio 2024-02-27 06:49:42 -08:00
test_get_model_file.py
test_get_model_info.py fix(utils.py): accept {custom_llm_provider}/{model_name} in get_model_info 2024-04-17 16:38:53 -07:00
test_get_model_list.py
test_get_optional_params_embeddings.py test - bedrock v2 supports dimension 2024-05-03 16:23:37 -07:00
test_get_optional_params_functions_not_supported.py test: fix linting 2024-05-10 14:42:06 -07:00
test_google_ai_studio_gemini.py (fix) retry gemini-pro-vision 3 times 2024-01-11 14:39:08 +05:30
test_health_check.py test: removing aws tests - account suspended - pending their approval 2024-02-28 13:46:20 -08:00
test_helicone_integration.py
test_hf_prompt_templates.py
test_image_generation.py (ci/cd) run again 2024-05-20 18:50:17 -07:00
test_img_resize.py
test_jwt.py fix(proxy_server.py): fix admin allowed routes 2024-05-22 20:55:21 -07:00
test_key_generate_dynamodb.py test: removing aws tests - account suspended - pending their approval 2024-02-28 13:46:20 -08:00
test_key_generate_prisma.py fix test_generate_and_call_with_valid_key 2024-05-30 15:10:16 -07:00
test_lakera_ai_prompt_injection.py test_lakera_prompt_injection_detection 2024-05-23 15:26:01 -07:00
test_langchain_ChatLiteLLM.py
test_langsmith.py
test_least_busy_routing.py test(test_least_busy_routing.py): avoid deployments with low rate limits 2024-05-09 13:54:24 -07:00
test_litellm_max_budget.py
test_llm_guard.py test: refactor testing to handle the hash token fix 2024-04-17 17:31:39 -07:00
test_load_test_router_s3.py test: reintegrate s3 testing 2024-03-07 08:56:59 -08:00
test_loadtest_router.py (cookbook) load test litellm router 2024-02-08 07:24:28 -08:00
test_logfire.py test(test_logfire.py): skip logfire tests - breaking on ci/cd 2024-05-21 17:37:16 -07:00
test_logging.py
test_longer_context_fallback.py
test_lowest_cost_routing.py test - lowest cost router 2024-05-07 13:52:34 -07:00
test_lowest_latency_routing.py feat(lowest_latency.py): route by time to first token, for streaming requests (if available) 2024-05-21 13:08:17 -07:00
test_lunary.py Lunary: Fix tool calling 2024-05-03 17:42:50 +01:00
test_max_tpm_rpm_limiter.py fix(parallel_request_limiter.py): fix user+team tpm/rpm limit check 2024-05-27 08:48:23 -07:00
test_mem_usage.py Merge branch 'main' into litellm_imp_mem_use 2024-03-11 19:00:56 -07:00
test_mock_request.py
test_model_alias_map.py fix(get_api_base): fix get_api_base to handle model with alias 2024-05-09 08:01:17 -07:00
test_model_max_token_adjust.py test: removing aws tests - account suspended - pending their approval 2024-02-28 13:46:20 -08:00
test_multiple_deployments.py (test) tgai is unstable 2024-02-03 20:00:40 -08:00
test_ollama.py comment out test method calls, following the pattern 2024-05-06 20:13:11 -07:00
test_ollama_local.py update ollama test file 2024-05-05 20:25:43 -07:00
test_ollama_local_chat.py
test_openai_batches.py feat - add afile_content, file_content 2024-05-28 20:58:22 -07:00
test_openai_moderations_hook.py test - openai moderation response 2024-05-23 13:24:46 -07:00
test_optional_params.py fix(openai.py): only allow 'user' as optional param if openai model 2024-05-29 15:15:02 -07:00
test_parallel_request_limiter.py fix(parallel_request_limiter.py): fix user+team tpm/rpm limit check 2024-05-27 08:48:23 -07:00
test_presidio_masking.py test(test_presidio_pii_masking.py): add more unit tests 2024-02-19 16:30:44 -08:00
test_profiling_router.py
test_prometheus_service.py test(test_prometheus_service.py): remove duplicate test 2024-04-19 16:23:47 -07:00
test_prompt_factory.py fix(factory.py): support llama3 instuct chat template 2024-04-24 20:35:10 -07:00
test_prompt_injection_detection.py fix(prompt_injection_detection.py): fix type check 2024-03-21 08:56:13 -07:00
test_promptlayer_integration.py Merge branch 'main' into litellm_fix_azure_function_calling_streaming 2024-02-22 22:36:38 -08:00
test_provider_specific_config.py fix(bedrock.py): support anthropic messages api on bedrock (claude-3) 2024-03-04 17:15:47 -08:00
test_proxy_custom_auth.py fix(proxy_server.py): check if master key is str before hashing 2024-03-09 16:51:11 -08:00
test_proxy_custom_logger.py fix(main.py): ignore model_config param 2024-05-14 19:03:17 -07:00
test_proxy_exception_mapping.py Improve mocking in test_proxy_exception_mapping 2024-05-02 15:16:20 -07:00
test_proxy_gunicorn.py
test_proxy_pass_user_config.py test: ensure test calls contain bearer token 2024-01-26 20:15:35 -08:00
test_proxy_server.py Make test_load_router_config pass 2024-05-11 16:55:57 -07:00
test_proxy_server_caching.py test(test_proxy_server_caching.py): skip aws test - aws account suspended 2024-02-28 14:55:57 -08:00
test_proxy_server_cost.py
test_proxy_server_keys.py (fix) test - moved to circe ci dockerfile 2024-01-10 21:54:13 +05:30
test_proxy_server_langfuse.py
test_proxy_server_spend.py
test_proxy_token_counter.py test - token count response 2024-05-16 13:20:01 -07:00
test_pydantic_namespaces.py Added pytest for pydantic protected namespace warning 2024-04-27 15:44:40 -07:00
test_python_38.py build(test_python_38.py): add testing for litellm cli import 2024-03-23 10:42:19 -07:00
test_register_model.py
test_router.py fix(router.py): security fix - don't show api key in invalid model setup error message 2024-05-29 16:14:57 -07:00
test_router_batch_completion.py test_batch_completion_multiple_models_multiple_messages 2024-05-28 22:54:54 -07:00
test_router_caching.py test(test_router_caching.py): fix caching tests 2024-05-21 18:07:46 -07:00
test_router_client_init.py
test_router_cooldowns.py test - router cooldowns 2024-05-15 09:43:30 -07:00
test_router_debug_logs.py fix - router debug logs 2024-05-25 17:23:37 -07:00
test_router_fallbacks.py fix(init.py): set 'default_fallbacks' as a litellm_setting 2024-05-14 11:15:53 -07:00
test_router_get_deployments.py fix(router.py): add random shuffle and tpm-based shuffle for async shuffle logic 2024-04-22 12:58:59 -07:00
test_router_init.py test(test_router_init.py): fix test 2024-04-27 18:40:00 -07:00
test_router_max_parallel_requests.py test(test_router_max_parallel_requests.py): more extensive testing for setting max parallel requests 2024-04-20 12:56:54 -07:00
test_router_policy_violation.py
test_router_retries.py test - router retry policy 2024-05-11 19:58:17 -07:00
test_router_timeout.py test: fix test 2024-04-27 17:48:07 -07:00
test_router_utils.py fix - azure test - don't pop api key 2024-04-17 07:54:16 -07:00
test_router_with_fallbacks.py fix(router.py): support fallbacks / retries with sync embedding calls 2024-03-11 14:51:22 -07:00
test_rules.py test(test_rules.py): fix test 2024-05-11 21:22:37 -07:00
test_secret_manager.py fix oidc tests 2024-05-11 16:31:38 -07:00
test_simple_shuffle.py fix(router.py): add random shuffle and tpm-based shuffle for async shuffle logic 2024-04-22 12:58:59 -07:00
test_stream_chunk_builder.py (test) hidden params in stream_chunk builder 2024-01-13 11:10:23 -08:00
test_streaming.py fix(anthropic.py): fix parallel streaming on anthropic.py 2024-05-28 16:29:09 -07:00
test_supabase_integration.py
test_team_config.py fix(proxy_server.py): load default team config straight from config file 2024-02-02 19:03:47 -08:00
test_text_completion.py fix(main.py): fix together ai text completion call 2024-05-08 09:10:45 -07:00
test_timeout.py fix(bedrock.py): convert httpx.timeout to boto3 valid timeout 2024-05-03 16:24:21 -07:00
test_together_ai.py
test_token_counter.py test: fix test 2024-05-15 08:51:40 -07:00
test_tpm_rpm_routing_v2.py test(test_tpm_rpm_routing_v2.py): fix test - bump number of iteration s 2024-04-30 08:48:55 -07:00
test_traceloop.py Revert "Revert "fix: Log errors in Traceloop Integration (reverts previous revert)"" 2024-05-30 04:06:45 +03:00
test_update_spend.py test(test_update_spend.py): fix test with right init 2024-04-02 21:11:26 -07:00
test_utils.py include methods in init import, add test, fix encode/decode param ordering 2024-05-02 15:49:22 +10:00
test_validate_environment.py
test_wandb.py
user_cost.json
vertex_key.json ci(vertex_key.json): switch gcloud accounts 2024-04-06 12:14:46 -07:00