litellm/tests/local_testing
Ishaan Jaff 7a5f997fc9
(refactor) remove berrispendLogger - unused logging integration (#6363)
* fix remove berrispendLogger

* remove unused clickhouse logger
2024-10-22 16:53:25 +05:30
..
.litellm_cache
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
adroit-crow-413218-bc47f303efc9.json
azure_fine_tune.jsonl
batch_job_results_furniture.jsonl
conftest.py
data_map.txt
eagle.wav
gettysburg.wav
large_text.py
log.txt LiteLLM Minor Fixes & Improvements (10/02/2024) (#6023) 2024-10-02 22:00:28 -04:00
messages_with_counts.py
model_cost.json
openai_batch_completions_router.jsonl
openai_batch_completions.jsonl
speech_vertex.mp3
stream_chunk_testdata.py
test_acompletion.py
test_acooldowns_router.py
test_add_function_to_prompt.py
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
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
test_arize_ai.py fix arize handle optional params (#6243) 2024-10-16 08:33:40 +05:30
test_assistants.py
test_async_fn.py
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_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
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
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
test_budget_manager.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04: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_caching.py refactor(redis_cache.py): use a default cache value when writing to r… (#6358) 2024-10-21 16:42:12 -07:00
test_clarifai_completion.py
test_class.py
test_cohere_completion.py
test_completion_cost.py LiteLLM Minor Fixes & Improvements (10/18/2024) (#6320) 2024-10-19 22:23:27 -07:00
test_completion_with_retries.py
test_completion.py (fix) get_response_headers for Azure OpenAI (#6344) 2024-10-21 20:41:35 +05:30
test_config.py
test_cost_calc.py
test_custom_api_logger.py
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
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
test_embedding.py (contributor PRs) oct 3rd, 2024 (#6034) 2024-10-03 17:12:34 +05:30
test_exceptions.py
test_file_types.py
test_fine_tuning_api.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
test_function_call_parsing.py
test_function_calling.py LiteLLM Minor Fixes & Improvements (10/02/2024) (#6023) 2024-10-02 22:00:28 -04:00
test_function_setup.py
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 feat(proxy_cli.py): add new 'log_config' cli param (#6352) 2024-10-21 21:25:58 -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
test_get_optional_params_embeddings.py
test_get_optional_params_functions_not_supported.py
test_get_secret.py
test_google_ai_studio_gemini.py
test_guardrails_ai.py LiteLLM Minor Fixes & Improvements (10/15/2024) (#6242) 2024-10-16 07:32:06 -07:00
test_guardrails_config.py
test_health_check.py
test_helicone_integration.py
test_hf_prompt_templates.py
test_image_generation.py
test_img_resize.py
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
test_langsmith.py
test_least_busy_routing.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_litellm_max_budget.py
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
test_logfire.py
test_logging.py
test_longer_context_fallback.py
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
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
test_mock_request.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
test_model_alias_map.py
test_model_max_token_adjust.py
test_multiple_deployments.py
test_ollama_local_chat.py
test_ollama_local.py
test_ollama.py
test_openai_batches_and_files.py
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
test_prometheus_service.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
test_prometheus.py
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/17/2024) (#6293) 2024-10-17 22:09:11 -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
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
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
test_proxy_exception_mapping.py
test_proxy_gunicorn.py
test_proxy_pass_user_config.py
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
test_proxy_server_caching.py
test_proxy_server_cost.py
test_proxy_server_keys.py
test_proxy_server_langfuse.py
test_proxy_server_spend.py
test_proxy_server.py LiteLLM Minor Fixes & Improvements (10/16/2024) (#6265) 2024-10-16 22:16:23 -07:00
test_proxy_setting_guardrails.py
test_proxy_token_counter.py
test_proxy_utils.py feat(custom_logger.py): expose new async_dataset_hook for modifying… (#6331) 2024-10-20 09:00:04 -07:00
test_pydantic_namespaces.py
test_pydantic.py
test_python_38.py
test_register_model.py
test_rerank.py
test_router_batch_completion.py
test_router_caching.py
test_router_client_init.py
test_router_cooldowns.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
test_router_custom_routing.py
test_router_debug_logs.py
test_router_fallback_handlers.py (router testing) Add testing coverage for run_async_fallback and run_sync_fallback (#6256) 2024-10-16 16:16:17 +05:30
test_router_fallbacks.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
test_router_get_deployments.py
test_router_init.py
test_router_max_parallel_requests.py
test_router_pattern_matching.py (testing - litellm.Router ) add unit test coverage for pattern matching / wildcard routing (#6250) 2024-10-16 11:58:05 +05:30
test_router_policy_violation.py
test_router_retries.py
test_router_tag_routing.py
test_router_timeout.py
test_router_utils.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
test_router_with_fallbacks.py
test_router.py Litellm router code coverage 3 (#6274) 2024-10-16 21:30:25 -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
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
test_simple_shuffle.py
test_spend_calculate_endpoint.py
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
test_text_completion.py LiteLLM Minor Fixes & Improvements (10/07/2024) (#6101) 2024-10-07 22:17:22 -07:00
test_timeout.py
test_together_ai.py
test_token_counter.py (feat proxy slack alerting) - allow opting in to getting key / internal user alerts (#5990) 2024-10-01 10:49:22 -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
test_triton.py
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 (refactor) get_cache_key to be under 100 LOC function (#6327) 2024-10-19 15:21:11 +05:30
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 feat(custom_logger.py): expose new async_dataset_hook for modifying… (#6331) 2024-10-20 09:00:04 -07:00
test_utils.py feat(custom_logger.py): expose new async_dataset_hook for modifying… (#6331) 2024-10-20 09:00:04 -07:00
test_validate_environment.py
test_wandb.py
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
vertex_ai.jsonl
vertex_key.json