litellm/tests/local_testing
Krish Dholakia 54ebdbf7ce
LiteLLM Minor Fixes & Improvements (10/15/2024) (#6242)
* feat(litellm_pre_call_utils.py): support forwarding request headers to backend llm api

* fix(litellm_pre_call_utils.py): handle custom litellm key header

* test(router_code_coverage.py): check if all router functions are dire… (#6186)

* test(router_code_coverage.py): check if all router functions are directly tested

prevent regressions

* docs(configs.md): document all environment variables (#6185)

* docs: make it easier to find anthropic/openai prompt caching doc

* aded codecov yml (#6207)

* fix codecov.yaml

* run ci/cd again

* (refactor) caching use LLMCachingHandler for async_get_cache and set_cache  (#6208)

* use folder for caching

* fix importing caching

* fix clickhouse pyright

* fix linting

* fix correctly pass kwargs and args

* fix test case for embedding

* fix linting

* fix embedding caching logic

* fix refactor handle utils.py

* fix test_embedding_caching_azure_individual_items_reordered

* (feat) prometheus have well defined latency buckets (#6211)

* fix prometheus have well defined latency buckets

* use a well define latency bucket

* use types file for prometheus logging

* add test for LATENCY_BUCKETS

* fix prom testing

* fix config.yml

* (refactor caching) use LLMCachingHandler for caching streaming responses  (#6210)

* use folder for caching

* fix importing caching

* fix clickhouse pyright

* fix linting

* fix correctly pass kwargs and args

* fix test case for embedding

* fix linting

* fix embedding caching logic

* fix refactor handle utils.py

* refactor async set stream cache

* fix linting

* bump (#6187)

* update code cov yaml

* fix config.yml

* add caching component to code cov

* fix config.yml ci/cd

* add coverage for proxy auth

* (refactor caching) use common `_retrieve_from_cache` helper  (#6212)

* use folder for caching

* fix importing caching

* fix clickhouse pyright

* fix linting

* fix correctly pass kwargs and args

* fix test case for embedding

* fix linting

* fix embedding caching logic

* fix refactor handle utils.py

* refactor async set stream cache

* fix linting

* refactor - use _retrieve_from_cache

* refactor use _convert_cached_result_to_model_response

* fix linting errors

* bump: version 1.49.2 → 1.49.3

* fix code cov components

* test(test_router_helpers.py): add router component unit tests

* test: add additional router tests

* test: add more router testing

* test: add more router testing + more mock functions

* ci(router_code_coverage.py): fix check

---------

Co-authored-by: Ishaan Jaff <ishaanjaffer0324@gmail.com>
Co-authored-by: yujonglee <yujonglee.dev@gmail.com>

* bump: version 1.49.3 → 1.49.4

* (refactor) use helper function `_assemble_complete_response_from_streaming_chunks` to assemble complete responses in caching and logging callbacks (#6220)

* (refactor) use _assemble_complete_response_from_streaming_chunks

* add unit test for test_assemble_complete_response_from_streaming_chunks_1

* fix assemble complete_streaming_response

* config add logging_testing

* add logging_coverage in codecov

* test test_assemble_complete_response_from_streaming_chunks_3

* add unit tests for _assemble_complete_response_from_streaming_chunks

* fix remove unused / junk function

* add test for streaming_chunks when error assembling

* (refactor) OTEL - use safe_set_attribute for setting attributes (#6226)

* otel - use safe_set_attribute for setting attributes

* fix OTEL only use safe_set_attribute

* (fix) prompt caching cost calculation OpenAI, Azure OpenAI  (#6231)

* fix prompt caching cost calculation

* fix testing for prompt cache cost calc

* fix(allowed_model_region): allow us as allowed region (#6234)

* test(router_code_coverage.py): check if all router functions are dire… (#6186)

* test(router_code_coverage.py): check if all router functions are directly tested

prevent regressions

* docs(configs.md): document all environment variables (#6185)

* docs: make it easier to find anthropic/openai prompt caching doc

* aded codecov yml (#6207)

* fix codecov.yaml

* run ci/cd again

* (refactor) caching use LLMCachingHandler for async_get_cache and set_cache  (#6208)

* use folder for caching

* fix importing caching

* fix clickhouse pyright

* fix linting

* fix correctly pass kwargs and args

* fix test case for embedding

* fix linting

* fix embedding caching logic

* fix refactor handle utils.py

* fix test_embedding_caching_azure_individual_items_reordered

* (feat) prometheus have well defined latency buckets (#6211)

* fix prometheus have well defined latency buckets

* use a well define latency bucket

* use types file for prometheus logging

* add test for LATENCY_BUCKETS

* fix prom testing

* fix config.yml

* (refactor caching) use LLMCachingHandler for caching streaming responses  (#6210)

* use folder for caching

* fix importing caching

* fix clickhouse pyright

* fix linting

* fix correctly pass kwargs and args

* fix test case for embedding

* fix linting

* fix embedding caching logic

* fix refactor handle utils.py

* refactor async set stream cache

* fix linting

* bump (#6187)

* update code cov yaml

* fix config.yml

* add caching component to code cov

* fix config.yml ci/cd

* add coverage for proxy auth

* (refactor caching) use common `_retrieve_from_cache` helper  (#6212)

* use folder for caching

* fix importing caching

* fix clickhouse pyright

* fix linting

* fix correctly pass kwargs and args

* fix test case for embedding

* fix linting

* fix embedding caching logic

* fix refactor handle utils.py

* refactor async set stream cache

* fix linting

* refactor - use _retrieve_from_cache

* refactor use _convert_cached_result_to_model_response

* fix linting errors

* bump: version 1.49.2 → 1.49.3

* fix code cov components

* test(test_router_helpers.py): add router component unit tests

* test: add additional router tests

* test: add more router testing

* test: add more router testing + more mock functions

* ci(router_code_coverage.py): fix check

---------

Co-authored-by: Ishaan Jaff <ishaanjaffer0324@gmail.com>
Co-authored-by: yujonglee <yujonglee.dev@gmail.com>

* bump: version 1.49.3 → 1.49.4

* (refactor) use helper function `_assemble_complete_response_from_streaming_chunks` to assemble complete responses in caching and logging callbacks (#6220)

* (refactor) use _assemble_complete_response_from_streaming_chunks

* add unit test for test_assemble_complete_response_from_streaming_chunks_1

* fix assemble complete_streaming_response

* config add logging_testing

* add logging_coverage in codecov

* test test_assemble_complete_response_from_streaming_chunks_3

* add unit tests for _assemble_complete_response_from_streaming_chunks

* fix remove unused / junk function

* add test for streaming_chunks when error assembling

* (refactor) OTEL - use safe_set_attribute for setting attributes (#6226)

* otel - use safe_set_attribute for setting attributes

* fix OTEL only use safe_set_attribute

* fix(allowed_model_region): allow us as allowed region

---------

Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
Co-authored-by: Ishaan Jaff <ishaanjaffer0324@gmail.com>
Co-authored-by: yujonglee <yujonglee.dev@gmail.com>

* fix(litellm_pre_call_utils.py): support 'us' region routing + fix header forwarding to filter on `x-` headers

* docs(customer_routing.md): fix region-based routing example

* feat(azure.py): handle empty arguments function call - azure

Closes https://github.com/BerriAI/litellm/issues/6241

* feat(guardrails_ai.py): support guardrails ai integration

Adds support for on-prem guardrails via guardrails ai

* fix(proxy/utils.py): prevent sql injection attack

Fixes https://huntr.com/bounties/a4f6d357-5b44-4e00-9cac-f1cc351211d2

* fix: fix linting errors

* fix(litellm_pre_call_utils.py): don't log litellm api key in proxy server request headers

* fix(litellm_pre_call_utils.py): don't forward stainless headers

* docs(guardrails_ai.md): add guardrails ai quick start to docs

* test: handle flaky test

---------

Co-authored-by: Ishaan Jaff <ishaanjaffer0324@gmail.com>
Co-authored-by: yujonglee <yujonglee.dev@gmail.com>
Co-authored-by: Marcus Elwin <marcus@elwin.com>
2024-10-16 07:32:06 -07:00
..
.litellm_cache refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
example_config_yaml refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
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 refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -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 refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -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 LiteLLM Minor Fixes & Improvements (10/10/2024) (#6158) 2024-10-11 23:04:36 -07:00
test_amazing_vertex_completion.py LiteLLM Minor Fixes & Improvements (10/10/2024) (#6158) 2024-10-11 23:04:36 -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 fix arize handle optional params (#6243) 2024-10-16 08:33:40 +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_async_opentelemetry.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_auth_checks.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
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 (refactor) sync caching - use LLMCachingHandler class for get_cache (#6249) 2024-10-16 12:33:49 +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_clickhouse_logger.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 Litellm dev 10 14 2024 (#6221) 2024-10-14 22:11:14 -07:00
test_completion_cost.py (fix) prompt caching cost calculation OpenAI, Azure OpenAI (#6231) 2024-10-15 18:55:31 +05:30
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 (refactor) use helper function _assemble_complete_response_from_streaming_chunks to assemble complete responses in caching and logging callbacks (#6220) 2024-10-15 12:45:12 +05:30
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_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 (contributor PRs) oct 3rd, 2024 (#6034) 2024-10-03 17:12:34 +05:30
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 LiteLLM Minor Fixes & Improvements (10/02/2024) (#6023) 2024-10-02 22:00:28 -04: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 (feat) add azure openai cost tracking for prompt caching (#6077) 2024-10-05 15:04:18 +05:30
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 LiteLLM Minor Fixes & Improvements (10/09/2024) (#6139) 2024-10-10 00:42:11 -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 (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
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 (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 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: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
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_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/15/2024) (#6242) 2024-10-16 07:32:06 -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_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 refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_proxy_server.py LiteLLM Minor Fixes & Improvements (10/15/2024) (#6242) 2024-10-16 07:32:06 -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 test: refactor test 2024-09-28 21:08:15 -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 LiteLLM Minor Fixes & Improvements (10/15/2024) (#6242) 2024-10-16 07:32:06 -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 Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04: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 (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 refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_router_init.py refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
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 (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 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 refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -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 fix(utils.py): return openai streaming prompt caching tokens (#6051) 2024-10-03 22:20:13 -04: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 LiteLLM Minor Fixes & Improvements (10/07/2024) (#6101) 2024-10-07 22:17:22 -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 (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 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_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 refactor: move all testing to top-level of repo 2024-09-28 21:08:14 -07:00
test_utils.py LiteLLM Minor Fixes & Improvements (10/04/2024) (#6064) 2024-10-04 21:28:53 -04: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