litellm-mirror/tests/local_testing
Krish Dholakia dad24f2b52
Litellm dev 01 29 2025 p2 (#8102)
* docs: cleanup doc

* feat(bedrock/): initial commit adding bedrock/converse_like/<model> route support

allows routing to a converse like endpoint

Resolves https://github.com/BerriAI/litellm/issues/8085

* feat(bedrock/chat/converse_transformation.py): make converse config base config compatible

enables new 'converse_like' route

* feat(converse_transformation.py): enables using the proxy with converse like api endpoint

Resolves https://github.com/BerriAI/litellm/issues/8085
2025-01-29 20:53:37 -08: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 LiteLLM Minor Fixes & Improvements (11/05/2024) (#6590) 2024-11-07 04:17:05 +05:30
adroit-crow-413218-bc47f303efc9.json vertex testing use pathrise-convert-1606954137718 2025-01-05 14:00:17 -08: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
cache_unit_tests.py (code refactor) - Add BaseRerankConfig. Use BaseRerankConfig for cohere/rerank and azure_ai/rerank (#7319) 2024-12-19 17:03:34 -08:00
conftest.py ci(conftest.py): reset conftest.py for local_testing/ (#6657) 2024-11-08 19:14:16 +05:30
create_mock_standard_logging_payload.py [Bug Fix]: Errors in LiteLLM When Using Embeddings Model with Usage-Based Routing (#7390) 2024-12-23 17:42:24 -08: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
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 Litellm dev 01 01 2025 p2 (#7615) 2025-01-07 21:40:33 -08:00
test_acompletion_fallbacks.py (core sdk fix) - fix fallbacks stuck in infinite loop (#7751) 2025-01-13 19:34:34 -08:00
test_acooldowns_router.py fix(pattern_match_deployments.py): default to user input if unable to… (#6632) 2024-11-08 00:55:57 +05:30
test_add_function_to_prompt.py LiteLLM Minor Fixes & Improvements (11/05/2024) (#6590) 2024-11-07 04:17:05 +05:30
test_add_update_models.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
test_aim_guardrails.py Litellm dev 01 14 2025 p1 (#7771) 2025-01-14 16:18:21 -08:00
test_alangfuse.py (Testing) - Add e2e testing for langfuse logging with tags (#7922) 2025-01-22 09:09:25 -08:00
test_amazing_vertex_completion.py (Testing) e2e testing for team budget enforcement checks (#7988) 2025-01-24 18:18:12 -08:00
test_anthropic_prompt_caching.py build(pyproject.toml): bump uvicorn depedency requirement (#7773) 2025-01-14 21:47:11 -08:00
test_arize_ai.py (feat) Arize - Allow using Arize HTTP endpoint (#6364) 2024-10-23 09:38:35 +05:30
test_assistants.py rename llms/OpenAI/ -> llms/openai/ (#7154) 2024-12-10 20:14:07 -08:00
test_async_fn.py refactor(sagemaker/): separate chat + completion routes + make them b… (#7151) 2024-12-10 19:40:05 -08:00
test_audio_speech.py Litellm dev 2024 12 20 p1 (#7335) 2024-12-20 21:22:31 -08:00
test_auth_utils.py Ollama ssl verify = False + Spend Logs reliability fixes (#7931) 2025-01-23 23:05:41 -08: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 Litellm dev 01 20 2025 p1 (#7884) 2025-01-20 21:45:48 -08:00
test_azure_perf.py LiteLLM Minor Fixes & Improvements (11/29/2024) (#6965) 2024-12-01 05:24:11 -08:00
test_bad_params.py (feat) Add cost tracking for /batches requests OpenAI (#7384) 2024-12-23 17:47:26 -08:00
test_basic_python_version.py Litellm dev 01 10 2025 p2 (#7679) 2025-01-10 21:50:53 -08:00
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 Litellm merge pr (#7161) 2024-12-10 22:49:26 -08:00
test_blocked_user_list.py (docs) add docstrings for all /key, /user, /team, /customer endpoints (#6804) 2024-11-18 19:44:06 -08:00
test_braintrust.py Litellm dev 01 07 2025 p3 (#7635) 2025-01-08 11:46:24 -08:00
test_budget_manager.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
test_caching.py (code refactor) - Add BaseRerankConfig. Use BaseRerankConfig for cohere/rerank and azure_ai/rerank (#7319) 2024-12-19 17:03:34 -08:00
test_caching_handler.py (code refactor) - Add BaseRerankConfig. Use BaseRerankConfig for cohere/rerank and azure_ai/rerank (#7319) 2024-12-19 17:03:34 -08:00
test_caching_ssl.py (redis fix) - fix AbstractConnection.__init__() got an unexpected keyword argument 'ssl' (#6908) 2024-11-25 22:52:44 -08:00
test_class.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_completion.py Litellm dev 01 27 2025 p3 (#8047) 2025-01-28 18:01:27 -08:00
test_completion_cost.py Fix bedrock model pricing + add unit test using bedrock pricing api (#7978) 2025-01-28 17:57:49 -08:00
test_completion_with_retries.py fix(main.py): fix retries being multiplied when using openai sdk (#7221) 2024-12-14 11:56:55 -08:00
test_config.py Litellm dev 01 29 2025 p2 (#8102) 2025-01-29 20:53:37 -08:00
test_cost_calc.py test(test_cost_calc.py): fix test to handle llm api errors 2024-12-24 16:49:02 -08: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 dev 01 02 2025 p1 (#7516) 2025-01-03 14:40:57 -08:00
test_custom_callback_router.py Complete 'requests' library removal (#7350) 2024-12-22 07:21:25 -08:00
test_custom_llm.py LiteLLM Minor Fixes & Improvements (01/10/2025) - p1 (#7670) 2025-01-10 17:49:05 -08:00
test_custom_logger.py Complete 'requests' library removal (#7350) 2024-12-22 07:21:25 -08:00
test_disk_cache_unit_tests.py LiteLLM Minor Fixes & Improvements (11/12/2024) (#6705) 2024-11-12 22:50:51 +05:30
test_dual_cache.py (code refactor) - Add BaseRerankConfig. Use BaseRerankConfig for cohere/rerank and azure_ai/rerank (#7319) 2024-12-19 17:03:34 -08:00
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 fix(proxy_server.py): fix get model info when litellm_model_id is set + move model analytics to free (#7886) 2025-01-21 08:19:07 -08:00
test_exceptions.py LiteLLM Minor Fixes & Improvements (12/27/2024) - p1 (#7448) 2024-12-27 19:04:39 -08:00
test_file_types.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07: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 Litellm dev 01 01 2025 p2 (#7615) 2025-01-07 21:40:33 -08: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 use latest bucket for testing 2025-01-05 14:55:48 -08:00
test_get_llm_provider.py Litellm dev 01 11 2025 p3 (#7702) 2025-01-11 20:06:54 -08: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 Fix custom pricing - separate provider info from model info (#7990) 2025-01-25 21:49:28 -08: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_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 feat(health_check.py): set upperbound for api when making health check call (#7865) 2025-01-18 19:47:43 -08: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) Code Quality improvement - remove /prompt_templates/ , base_aws_llm.py from /llms folder (#7164) 2024-12-11 00:02:46 -08:00
test_http_parsing_utils.py LiteLLM Minor Fixes & Improvements (11/27/2024) (#6943) 2024-11-28 00:32:46 +05:30
test_img_resize.py fix: Support WebP image format and avoid token calculation error (#7182) 2024-12-12 14:32:39 -08:00
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 Litellm dev 11 30 2024 (#6974) 2024-12-02 21:03:33 -08: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 LiteLLM Minor Fixes & Improvements (11/05/2024) (#6590) 2024-11-07 04:17:05 +05:30
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_leak.py LiteLLM Minor Fixes & Improvements (10/30/2024) (#6519) 2024-11-02 00:44:32 +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 Minor Fixes & Improvements (12/23/2024) - P2 (#7386) 2024-12-23 17:41:27 -08: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 Ollama ssl verify = False + Spend Logs reliability fixes (#7931) 2025-01-23 23:05:41 -08: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_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 (minor fix proxy) Clarify Proxy Rate limit errors are showing hash of litellm virtual key (#7210) 2024-12-12 20:13:14 -08:00
test_pass_through_endpoints.py fix test_aaapass_through_endpoint_pass_through_keys_langfuse 2024-11-21 22:05:00 -08:00
test_presidio_masking.py Litellm dev 12 06 2024 (#7067) 2024-12-06 22:44:18 -08:00
test_profiling_router.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_prometheus.py done 2025-01-22 20:19:31 +09: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 (12/05/2024) (#7037) 2024-12-05 00:02:31 -08: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 LiteLLM Minor Fixes & Improvements (11/05/2024) (#6590) 2024-11-07 04:17:05 +05:30
test_provider_specific_config.py Litellm merge pr (#7161) 2024-12-10 22:49:26 -08: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_register_model.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_router.py Add attempted-retries and timeout values to response headers + more testing (#7926) 2025-01-22 22:19:44 -08:00
test_router_batch_completion.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
test_router_budget_limiter.py Support budget/rate limit tiers for keys (#7429) 2024-12-26 19:05:27 -08: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 fix: add default credential for azure (#7095) (#7891) 2025-01-21 09:01:49 -08:00
test_router_cooldowns.py Litellm dev 12 07 2024 (#7086) 2024-12-08 00:30:33 -08: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 [BETA] Add OpenAI /images/variations + Topaz API support (#7700) 2025-01-11 23:27:46 -08: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 update tests 2025-01-06 22:36:00 -08:00
test_router_max_parallel_requests.py fix(lowest_tpm_rpm_routing.py): fix parallel rate limit check (#6577) 2024-11-05 22:03:44 +05:30
test_router_pattern_matching.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08: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 Litellm dev 12 14 2024 p1 (#7231) 2024-12-14 22:22:29 -08: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 01 20 2025 p3 (#7890) 2025-01-20 21:46:36 -08:00
test_router_utils.py Litellm dev 12 28 2024 p2 (#7458) 2024-12-28 19:38:06 -08: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 (Refactor) Code Quality improvement - remove /prompt_templates/ , base_aws_llm.py from /llms folder (#7164) 2024-12-11 00:02:46 -08: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_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_stream_chunk_builder.py (beta ui - spend logs view fixes & Improvements 1) (#8062) 2025-01-28 20:34:22 -08:00
test_streaming.py set timeout for deepseek testing 2025-01-27 21:25:28 -08:00
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 huggingface/mistralai/Mistral-7B-Instruct-v0.3 2025-01-13 18:42:36 -08: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 fix(utils.py): handle failed hf tokenizer request during calls (#8032) 2025-01-28 17:20:36 -08:00
test_tpm_rpm_routing_v2.py Litellm dev 12 26 2024 p4 (#7439) 2024-12-27 12:01:42 -08:00
test_traceloop.py LiteLLM Minor Fixes & Improvements (11/05/2024) (#6590) 2024-11-07 04:17:05 +05:30
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 (code refactor) - Add BaseRerankConfig. Use BaseRerankConfig for cohere/rerank and azure_ai/rerank (#7319) 2024-12-19 17:03:34 -08:00
test_update_spend.py (docs) add docstrings for all /key, /user, /team, /customer endpoints (#6804) 2024-11-18 19:44:06 -08: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 LiteLLM Minor Fixes & Improvements (11/05/2024) (#6590) 2024-11-07 04:17:05 +05:30
test_whisper.py Litellm dev 12 17 2024 p2 (#7277) 2024-12-17 14:05:14 -08: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_batch_completions.jsonl (feat) add Vertex Batches API support in OpenAI format (#7032) 2024-12-04 19:40:28 -08:00
vertex_key.json ci/cd update vertex acct 2025-01-05 13:43:32 -08:00
whitelisted_bedrock_models.txt Litellm dev 12 24 2024 p3 (#7403) 2024-12-24 18:07:53 -08:00