litellm-mirror/litellm/tests
Krish Dholakia 91fe668411
Merge pull request #3105 from BerriAI/litellm_fix_hashing
fix(_types.py): hash api key in UserAPIKeyAuth
2024-04-18 08:16:24 -07:00
..
example_config_yaml (fix) test load config proxy with redis 2024-03-18 20:42:41 -07:00
test_configs test: reintegrate s3 testing 2024-03-07 08:56:59 -08:00
test_model_response_typing
conftest.py fix(conftest.py): create an event loop if one isn't made 2024-01-13 14:23:04 +05:30
data_map.txt
langfuse.log (test) langfuse_latency_test_user 2024-01-19 11:38:44 -08:00
large_text.py feat(router.py): enable pre-call checks 2024-03-23 18:03:30 -07:00
litellm_uuid.txt
log.txt test(test_completion.py): change model 2024-04-09 21:38:17 -07:00
model_cost.json
test_acompletion.py Moved test to a new file 2024-01-09 13:02:12 +01:00
test_acooldowns_router.py test(test_acooldowns_router.py): fix tpm 2024-04-03 21:24:42 -07:00
test_add_function_to_prompt.py test: update tests 2024-03-04 18:42:08 -08:00
test_alangfuse.py (beta-test) langfuse embedding 2024-01-31 10:25:19 -08:00
test_alerting.py test(test_alerting.py): remove duplicate test 2024-04-06 19:33:01 -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 test(test_amazing_vertex_completion.py): handle api errors 2024-04-16 21:47:02 -07:00
test_aproxy_startup.py (fix) proxy_startup test 2024-02-06 13:17:57 -08: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_azure_perf.py refactor: add black formatting 2023-12-25 14:11:20 +05:30
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_completions.py test(test_batch_completions.py): handle anthropic overloaded error 2024-03-26 13:55:03 -07:00
test_bedrock_completion.py fix function calling prompt - ask llm to respond in fahrenheit 2024-04-16 21:09:53 -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 refactor: add black formatting 2023-12-25 14:11:20 +05:30
test_caching.py fix - test caching atext_completion 2024-04-12 20:37:56 -07:00
test_caching_ssl.py refactor: add black formatting 2023-12-25 14:11:20 +05:30
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 test(test_completion.py): skip local test 2024-04-17 19:14:41 -07:00
test_completion_cost.py fix(azure.py): support cost tracking for azure/dall-e-3 2024-03-12 10:55:54 -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 fix(proxy_server.py): ensure id used in delete deployment matches id used in litellm Router 2024-04-16 15:17:18 -07:00
test_custom_api_logger.py (fix) custom api testing 2024-02-15 17:25:30 -08:00
test_custom_callback_input.py test(test_custom_callback_input.py): fix assert 2024-04-06 18:48:33 -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_custom_logger.py): cleanup test 2024-03-25 18:32:12 -07:00
test_datadog.py (test) dd test 2024-03-18 16:22:59 -07:00
test_deployed_proxy_keygen.py refactor: refactor key tests 2024-01-10 20:58:29 +05:30
test_dynamodb_logs.py (test) AWS Suspended Account 2024-02-28 18:40:59 -08:00
test_embedding.py test - voyage ai embedding 2024-04-03 20:54:35 -07:00
test_exceptions.py test vertex ai exception mapping 2024-04-16 20:00:32 -07:00
test_function_calling.py test(test_function_calling.py): handle for when model returns a text response 2024-04-17 18:32:34 -07:00
test_function_setup.py fix(utils.py): function_setup empty message fix 2024-04-18 07:32:29 -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 refactor: add black formatting 2023-12-25 14:11:20 +05:30
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 fix(vertex_ai.py): correctly parse optional params and pass vertex ai project 2024-03-06 14:00:50 -08: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 refactor: add black formatting 2023-12-25 14:11:20 +05:30
test_image_generation.py (fix) OpenAI img gen endpoints unstable 2024-03-28 12:42:04 -07:00
test_img_resize.py fix(utils.py): support token counting for gpt-4-vision models 2024-01-02 14:41:42 +05:30
test_jwt.py test(test_jwt.py): add testing to make sure user api key auth returns the expected values 2024-04-11 20:18:55 -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(_types.py): hash api key, if given 2024-04-17 16:43:35 -07:00
test_langchain_ChatLiteLLM.py refactor: add black formatting 2023-12-25 14:11:20 +05:30
test_langsmith.py refactor: add black formatting 2023-12-25 14:11:20 +05:30
test_least_busy_routing.py fix(router.py): handle id being passed in as int 2024-04-04 14:23:10 -07:00
test_litellm_max_budget.py refactor: add black formatting 2023-12-25 14:11:20 +05:30
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_logging.py refactor: add black formatting 2023-12-25 14:11:20 +05:30
test_longer_context_fallback.py refactor: add black formatting 2023-12-25 14:11:20 +05:30
test_lowest_latency_routing.py Merge pull request #2798 from CLARKBENHAM/main 2024-04-06 08:47:40 -07:00
test_lunary.py ci(config.yml): add lunary to circle ci 2024-03-29 22:09:21 -07:00
test_max_tpm_rpm_limiter.py test(test_max_tpm_rpm_limiter.py): fix test to use hashed api key in cache check 2024-04-17 18:10:18 -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 refactor: add black formatting 2023-12-25 14:11:20 +05:30
test_model_alias_map.py refactor: add black formatting 2023-12-25 14:11:20 +05:30
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 refactor: add black formatting 2023-12-25 14:11:20 +05:30
test_ollama_local.py refactor: add black formatting 2023-12-25 14:11:20 +05:30
test_ollama_local_chat.py (test) local ollama_chat 2023-12-26 20:11:14 +05:30
test_optional_params.py (feat) support extra_headers 2024-02-23 08:48:21 -08:00
test_parallel_request_limiter.py test: refactor testing to handle the hash token fix 2024-04-17 17:31:39 -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 refactor: add black formatting 2023-12-25 14:11:20 +05:30
test_prometheus_service.py fix(caching.py): don't decode a string 2024-04-13 18:48:03 -07:00
test_prompt_factory.py Fix Anthropic system message handling 2024-04-14 16:23:59 +03: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 test(test_proxy_custom_logger.py): fix proxy test 2024-02-27 14:52:45 -08:00
test_proxy_exception_mapping.py test(test_proxy_exception_mapping.py): fix test 2024-02-12 16:25:35 -08:00
test_proxy_gunicorn.py refactor: add black formatting 2023-12-25 14:11:20 +05:30
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 fix: raise correct error 2024-04-03 22:37:51 -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 refactor: add black formatting 2023-12-25 14:11:20 +05:30
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 refactor: add black formatting 2023-12-25 14:11:20 +05:30
test_proxy_server_spend.py refactor: add black formatting 2023-12-25 14:11:20 +05:30
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 refactor: add black formatting 2023-12-25 14:11:20 +05:30
test_router.py fix(router.py): make sure pre call rpm check runs even when model not in model cost map 2024-04-11 09:27:46 -07:00
test_router_caching.py test(test_router_caching.py): add more verbose logs 2024-03-07 08:37:00 -08:00
test_router_client_init.py fix(router.py): periodically re-initialize azure/openai clients to solve max conn issue 2023-12-30 15:48:34 +05:30
test_router_debug_logs.py test(test_router_debug_logs.py): add info statement to log test 2024-03-26 09:54:26 -07:00
test_router_fallbacks.py fix(router.py): support fallbacks / retries with sync embedding calls 2024-03-11 14:51:22 -07:00
test_router_get_deployments.py fix(router.py): fix pydantic object logic 2024-04-03 21:57:19 -07:00
test_router_init.py test - setting org for openai text completion 2024-04-06 11:53:26 -07:00
test_router_policy_violation.py fix(router.py): don't retry malformed / content policy violating errors (400 status code) 2024-01-04 22:23:51 +05:30
test_router_timeout.py fix(bedrock.py): support anthropic messages api on bedrock (claude-3) 2024-03-04 17:15:47 -08: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 assert 2024-03-29 13:12:16 -07:00
test_secret_manager.py test(test_secret_manager.py): skip test - aws account suspended 2024-04-04 10:10:21 -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(utils.py): fix azure streaming logic 2024-04-18 07:08:36 -07:00
test_supabase_integration.py refactor: add black formatting 2023-12-25 14:11:20 +05:30
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(openai.py): support passing prompt as list instead of concat string 2024-04-03 15:23:20 -07:00
test_timeout.py (test) bedrock timeout 2024-02-09 14:38:17 -08:00
test_together_ai.py refactor: add black formatting 2023-12-25 14:11:20 +05:30
test_token_counter.py (fix) test_tokenizers 2024-02-23 10:13:38 -08:00
test_tpm_rpm_routing.py fix(router.py): handle id being passed in as int 2024-04-04 14:23:10 -07:00
test_traceloop.py refactor: add black formatting 2023-12-25 14:11:20 +05:30
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 Use max_input_token for trim_messages 2024-04-16 13:36:25 +01:00
test_validate_environment.py refactor: add black formatting 2023-12-25 14:11:20 +05:30
test_wandb.py refactor: add black formatting 2023-12-25 14:11:20 +05:30
user_cost.json
vertex_key.json ci(vertex_key.json): switch gcloud accounts 2024-04-06 12:14:46 -07:00