litellm/tests
Krish Dholakia 6f32189093
fix(caching_handler.py): fix embedding str caching result (#10700)
* fix(caching_handler.py): fix embedding str caching result

Fixes issue where str caching results were not being correctly assembled on str input

* feat(azure/image_generation): Support dropping response_format for azure gpt-image-1

Fixes LIT-118

* test(test_utils.py): add unit testing

* test: rename file to avoid testing conflict
2025-05-09 23:37:02 -07:00
..
basic_proxy_startup_tests
batches_tests VertexAI non-jsonl file storage support (#9781) 2025-04-09 14:01:48 -07:00
code_coverage_tests [Refactor] Use pip package for enterprise/ folder (#10709) 2025-05-09 17:18:48 -07:00
documentation_tests
enterprise Support unified file id (managed files) for batches (#10650) 2025-05-07 23:39:40 -07:00
guardrails_tests [Feat] Bedrock Guardrails - Add support for PII Masking with bedrock guardrails (#10642) 2025-05-07 18:30:57 -07:00
image_gen_tests [Bug Fix] Add Cost Tracking for gpt-image-1 when quality is unspecified (#10247) 2025-04-23 15:16:40 -07:00
litellm fix(caching_handler.py): fix embedding str caching result (#10700) 2025-05-09 23:37:02 -07:00
litellm_utils_tests fix(token_counter.py): handle empty lists 2025-05-02 08:07:08 -07:00
litellm-proxy-extras Prisma Migrate - support setting custom migration dir (#10336) 2025-04-26 12:05:06 -07:00
llm_responses_api_testing test: handle internal server errors 2025-05-01 16:47:30 -07:00
llm_translation Extract 'thinking' from nova response + Add 'drop_params' support for gpt-image-1 (#10680) 2025-05-08 23:01:38 -07:00
load_tests test: bump limit on flaky load test 2025-05-02 12:10:22 -07:00
local_testing fix(caching_handler.py): fix embedding str caching result (#10700) 2025-05-09 23:37:02 -07:00
logging_callback_tests [Refactor] Use pip package for enterprise/ folder (#10709) 2025-05-09 17:18:48 -07:00
mcp_tests
multi_instance_e2e_tests
old_proxy_tests/tests test: update tests to new deployment model (#10142) 2025-04-18 14:22:12 -07:00
openai_endpoints_tests # expect an error when getting the response again since 2025-04-25 09:42:35 -07:00
otel_tests Refactor budget assertions in tests to improve clarity and accuracy. Updated remaining hours check to ensure positive values and adjusted budget reset time validation for better range checks. (#10500) 2025-05-02 09:02:02 -07:00
pass_through_tests test: add more debug logs 2025-04-29 15:40:18 -07:00
pass_through_unit_tests [Feat] Add streaming support for using bedrock invoke models with /v1/messages (#10710) 2025-05-09 18:56:23 -07:00
proxy_admin_ui_tests fix(model_management_endpoints.py): allow team admin to update model … (#10539) 2025-05-03 19:34:35 -07:00
proxy_security_tests
proxy_unit_tests Realtime API - Set 'headers' in scope for websocket auth requests + reliability fix infinite loop when model_name not found for realtime models (#10679) 2025-05-08 22:50:09 -07:00
router_unit_tests Realtime API - Set 'headers' in scope for websocket auth requests + reliability fix infinite loop when model_name not found for realtime models (#10679) 2025-05-08 22:50:09 -07:00
scim_tests [Feat SSO] Add LiteLLM SCIM Integration for Team and User management (#10072) 2025-04-16 19:21:47 -07:00
spend_tracking_tests test_long_term_spend_accuracy_with_bursts 2025-03-31 21:09:29 -07:00
store_model_in_db_tests fix(router.py): handle edge case where user sets 'model_group' inside… (#10191) 2025-04-21 16:17:45 -07:00
windows_tests [Bug Fix] UnicodeDecodeError: 'charmap' on Windows during litellm import (#10542) 2025-05-03 21:31:05 -07:00
gettysburg.wav
large_text.py
openai_batch_completions.jsonl
README.MD
test_callbacks_on_proxy.py
test_config.py
test_debug_warning.py
test_end_users.py
test_entrypoint.py
test_fallbacks.py
test_health.py
test_keys.py test: temporarily skip test due to change testing model change - need to update test for new model 2025-05-09 09:02:08 -07:00
test_logging.conf
test_models.py Litellm UI improvements 04 26 2025 p1 (#10346) 2025-04-26 18:24:49 -07:00
test_openai_endpoints.py
test_organizations.py UI - fix adding vertex models with reusable credentials + fix pagination on keys table + fix showing org budgets on table (#10528) 2025-05-03 08:16:53 -07:00
test_passthrough_endpoints.py
test_ratelimit.py
test_spend_logs.py
test_team_logging.py
test_team_members.py
test_team.py fix: test_team_update_sc_2 2025-05-09 11:59:13 -07:00
test_users.py

In total litellm runs 1000+ tests

[02/20/2025] Update:

To make it easier to contribute and map what behavior is tested,

we've started mapping the litellm directory in tests/litellm

This folder can only run mock tests.